Fix rebase errors
This commit is contained in:
parent
2359b1b2f6
commit
3c2fc3ea5c
|
|
@ -57,7 +57,7 @@ abstract class PrefState implements Built<PrefState, PrefStateBuilder> {
|
|||
|
||||
BuiltList<CompanyPrefState> get companyPrefs;
|
||||
|
||||
bool get isTablet => layout != AppLayout.mobile;
|
||||
bool get isTablet => appLayout != AppLayout.mobile;
|
||||
|
||||
bool get isMobile => layout == AppLayout.mobile;
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ class DeviceSettingsVM {
|
|||
store.dispatch(UserSettingsChanged(historyMode: value));
|
||||
},
|
||||
onLayoutChanged: (BuildContext context, AppLayout value) async {
|
||||
if (store.state.prefState.layout == value) {
|
||||
if (store.state.prefState.appLayout == value) {
|
||||
return;
|
||||
}
|
||||
store.dispatch(UserSettingsChanged(layout: value));
|
||||
|
|
|
|||
Loading…
Reference in New Issue