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>[
|
||||
new GestureDetector(
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
Navigator.popAndPushNamed(context, '/');
|
||||
},
|
||||
child: new DrawerHeader(
|
||||
|
|
@ -115,7 +114,6 @@ Widget mainDrawer(BuildContext context, String currentRoute) {
|
|||
selected: currentRoute == MonitoredAreasPage.routeName,
|
||||
title: new Text(S.of(context).monitoredAreasTitle),
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
Navigator.popAndPushNamed(
|
||||
context, MonitoredAreasPage.routeName);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue