replace pop with pop&push

This commit is contained in:
2024-08-24 05:09:55 +02:00
parent 793debe475
commit 2d8226f5f2

View File

@@ -95,7 +95,7 @@ class _SignInState extends State<SignIn> {
} else { } else {
await signUserIn(); await signUserIn();
if (successfulSignIn) { if (successfulSignIn) {
Navigator.of(context).pushNamed('/home'); Navigator.of(context).popAndPushNamed('/home');
} }
} }
} }