From 31be519cf9aead7be1e4082a600c51b272dbfdc6 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 28 May 2018 13:19:31 -0700 Subject: [PATCH] Fix logout --- lib/ui/app/custom_drawer.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }, ), ],