Fix routing bug
This commit is contained in:
parent
2f371a9974
commit
83b57fe577
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ class LoginFormState extends State<LoginForm> {
|
|||
submitForm(context).then((res) {
|
||||
if (res['statusCode'] == 200) {
|
||||
addSession(res['data']['id'], res['data']['session_token']);
|
||||
Navigator.pop(context);
|
||||
Navigator.pushReplacement(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
|
|
Loading…
Add table
Reference in a new issue