Skip to content

Commit

Permalink
update: side drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
geekymeeky committed Aug 21, 2022
1 parent 5ab2fcc commit 2c0428c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/side_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ class SideDrawer extends StatelessWidget {
onTap: () {
String? currentRoute = ModalRoute.of(context)?.settings.name;
if (currentRoute != HomeScreen.id) {
Navigator.pushNamed(context, HomeScreen.id);
Navigator.pushReplacementNamed(context, HomeScreen.id);
}
Navigator.pop(context);
// Navigator.pop(context);
},
),
ListTile(
Expand Down

0 comments on commit 2c0428c

Please sign in to comment.