Corrct tab index with back button
This commit is contained in:
parent
a8fe9c3dca
commit
7f66aedd9a
|
|
@ -217,6 +217,7 @@ class _HistoryListTileState extends State<HistoryListTile> {
|
||||||
store.dispatch(ViewSettings(
|
store.dispatch(ViewSettings(
|
||||||
section: history.id,
|
section: history.id,
|
||||||
company: state.company,
|
company: state.company,
|
||||||
|
tabIndex: 0,
|
||||||
));
|
));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
|
|
@ -292,6 +292,7 @@ class MainScreen extends StatelessWidget {
|
||||||
store.dispatch(ViewSettings(
|
store.dispatch(ViewSettings(
|
||||||
section: history.id,
|
section: history.id,
|
||||||
company: state.company,
|
company: state.company,
|
||||||
|
tabIndex: 0,
|
||||||
));
|
));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
|
|
@ -127,6 +127,7 @@ class _MenuDrawerState extends State<MenuDrawer> {
|
||||||
store.dispatch(ViewSettings(
|
store.dispatch(ViewSettings(
|
||||||
section: history.id,
|
section: history.id,
|
||||||
company: state.company,
|
company: state.company,
|
||||||
|
tabIndex: 0,
|
||||||
));
|
));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue