replace pop with pop&push
This commit is contained in:
parent
793debe475
commit
2d8226f5f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue