Navigation issue in monitored areas
This commit is contained in:
parent
d3cd6012e6
commit
e308c9d319
1 changed files with 0 additions and 2 deletions
|
|
@ -55,7 +55,6 @@ Widget mainDrawer(BuildContext context, String currentRoute) {
|
||||||
children: listWithoutNulls(<Widget>[
|
children: listWithoutNulls(<Widget>[
|
||||||
new GestureDetector(
|
new GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
|
||||||
Navigator.popAndPushNamed(context, '/');
|
Navigator.popAndPushNamed(context, '/');
|
||||||
},
|
},
|
||||||
child: new DrawerHeader(
|
child: new DrawerHeader(
|
||||||
|
|
@ -115,7 +114,6 @@ Widget mainDrawer(BuildContext context, String currentRoute) {
|
||||||
selected: currentRoute == MonitoredAreasPage.routeName,
|
selected: currentRoute == MonitoredAreasPage.routeName,
|
||||||
title: new Text(S.of(context).monitoredAreasTitle),
|
title: new Text(S.of(context).monitoredAreasTitle),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
|
||||||
Navigator.popAndPushNamed(
|
Navigator.popAndPushNamed(
|
||||||
context, MonitoredAreasPage.routeName);
|
context, MonitoredAreasPage.routeName);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue