Fix otp bug on web
This commit is contained in:
parent
4ff9343d6f
commit
ffe0e60048
1 changed files with 1 additions and 1 deletions
|
@ -272,10 +272,10 @@ class _OtpBodyState extends State<OtpBody> {
|
|||
if (res['statusCode'] == 200) {
|
||||
addSession(res['data']['id'], res['data']['session_token']);
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
Navigator.pushReplacement(context, MaterialPageRoute(
|
||||
builder: (context) => const Menu(initialScreen: 2)
|
||||
));
|
||||
Navigator.pop(context);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue