Settings
This commit is contained in:
parent
e8b91c30a9
commit
aa61aa8a62
|
|
@ -48,6 +48,7 @@ class UpdateUser implements PersistUI {
|
|||
final UserEntity user;
|
||||
}
|
||||
|
||||
// TODO remove this action and related code/update with user
|
||||
class UpdateUserCompany implements PersistUI {
|
||||
UpdateUserCompany(this.userCompany);
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ class ListScaffold extends StatelessWidget {
|
|||
...appBarActions,
|
||||
if (!showCheckbox &&
|
||||
!isSettings &&
|
||||
!state.prefState.isHistoryVisible)
|
||||
(isMobile(context) || !state.prefState.isHistoryVisible))
|
||||
Builder(
|
||||
builder: (context) => IconButton(
|
||||
icon: Icon(Icons.menu),
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ class _DashboardScreenState extends State<DashboardScreen>
|
|||
store.dispatch(FilterCompany(value));
|
||||
},
|
||||
),
|
||||
if (!state.prefState.isHistoryVisible)
|
||||
if (isMobile(context) || !state.prefState.isHistoryVisible)
|
||||
Builder(
|
||||
builder: (context) => IconButton(
|
||||
icon: Icon(Icons.menu),
|
||||
|
|
|
|||
Loading…
Reference in New Issue