diff --git a/lib/ui/app/custom_drawer.dart b/lib/ui/app/custom_drawer.dart index a113a139e..908fdebd9 100644 --- a/lib/ui/app/custom_drawer.dart +++ b/lib/ui/app/custom_drawer.dart @@ -101,7 +101,7 @@ class CustomDrawer extends StatelessWidget { while(Navigator.of(context).canPop()) { Navigator.of(context).pop(); } - Navigator.of(context).pushNamed(AppRoutes.login); + Navigator.of(context).pushReplacementNamed(AppRoutes.login); }, ), ],