Fix rebase errors

This commit is contained in:
Gianfranco Gasbarri 2019-11-17 13:05:34 +00:00
parent 2359b1b2f6
commit 3c2fc3ea5c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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));