Adjust UI
This commit is contained in:
parent
bb68d3c223
commit
6de42562a2
|
|
@ -127,7 +127,7 @@ class UpdateUserPreferences implements PersistPrefs {
|
|||
this.menuMode,
|
||||
this.historyMode,
|
||||
this.showKanban,
|
||||
this.showFilterSidebar,
|
||||
this.isFilterVisible,
|
||||
this.rowsPerPage,
|
||||
this.colorTheme,
|
||||
this.customColors,
|
||||
|
|
@ -143,7 +143,7 @@ class UpdateUserPreferences implements PersistPrefs {
|
|||
final bool longPressSelectionIsDefault;
|
||||
final bool requireAuthentication;
|
||||
final bool isPreviewVisible;
|
||||
final bool showFilterSidebar;
|
||||
final bool isFilterVisible;
|
||||
final bool showKanban;
|
||||
final String accentColor;
|
||||
final int rowsPerPage;
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ Reducer<bool> showKanbanReducer = combineReducers([
|
|||
|
||||
Reducer<bool> isFilterVisibleReducer = combineReducers([
|
||||
TypedReducer<bool, UpdateUserPreferences>((value, action) {
|
||||
return action.showFilterSidebar ?? value;
|
||||
return action.isFilterVisible ?? value;
|
||||
}),
|
||||
]);
|
||||
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ class BottomButtons extends StatelessWidget {
|
|||
message: localization.hideSidebar,
|
||||
child: InkWell(
|
||||
onTap: () => store.dispatch(
|
||||
UpdateUserPreferences(showFilterSidebar: false)),
|
||||
UpdateUserPreferences(isFilterVisible: false)),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
||||
child: Icon(Icons.chevron_left),
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class EntityTopFilter extends StatelessWidget {
|
|||
InkWell(
|
||||
onTap: () {
|
||||
store.dispatch(UpdateUserPreferences(
|
||||
showFilterSidebar: !prefState.isFilterVisible));
|
||||
isFilterVisible: !prefState.isFilterVisible));
|
||||
},
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
|
|
|
|||
Loading…
Reference in New Issue