This commit is contained in:
Hillel Coren 2019-11-19 14:46:50 +02:00
parent e8b91c30a9
commit aa61aa8a62
3 changed files with 3 additions and 2 deletions

View File

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

View File

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

View File

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