summaryrefslogtreecommitdiff
path: root/lib/screens/dashboard_screen.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/screens/dashboard_screen.dart')
-rw-r--r--lib/screens/dashboard_screen.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/screens/dashboard_screen.dart b/lib/screens/dashboard_screen.dart
index b267c20..9b81bc1 100644
--- a/lib/screens/dashboard_screen.dart
+++ b/lib/screens/dashboard_screen.dart
@@ -120,7 +120,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
void signOut(BuildContext context) {
_auth.signOut().then((success) {
if (success) {
- Navigator.of(context).popUntil(ModalRoute.withName('/login'));
+ Navigator.of(context).pushReplacementNamed('/login');
}
});
}