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