replace pop with pop&push
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user