side bar added, ran into weird problem
This commit is contained in:
parent
4ab078c45e
commit
9e42671488
5 changed files with 30 additions and 28 deletions
|
@ -31,7 +31,7 @@ Future<LoginModel> requestLoginAPI(
|
|||
var user = new LoginModel.fromJson(responseJson);
|
||||
|
||||
saveCurrentLogin(responseJson, body["email"]);
|
||||
Navigator.of(context).pushReplacementNamed('/HomePage');
|
||||
Navigator.of(context).pushReplacementNamed('/ReceiptPage');
|
||||
|
||||
return LoginModel.fromJson(responseJson);
|
||||
} else {
|
||||
|
|
Reference in a new issue