Lots!
New navigation system, new 'about/settings/logout' page, some more types of dialog boxes added, some more minor things
This commit is contained in:
parent
2d0b6230ae
commit
60873a07ef
13 changed files with 1142 additions and 279 deletions
|
@ -38,6 +38,9 @@ Future<LoginModel> requestLoginAPI(
|
|||
|
||||
return LoginModel.fromJson(responseJson);
|
||||
} else {
|
||||
debugPrint("Invalid, either creds are wrong or server is down");
|
||||
Navigator.of(context).pushReplacementNamed('/HomePage'); // just here temporarily while server is down
|
||||
|
||||
final responseJson = json.decode(response.body);
|
||||
|
||||
saveCurrentLogin(responseJson, body["email"]);
|
||||
|
|
Reference in a new issue