wt1.1.1 ExercisePlan + ExercisePlan detail, Trainee
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
class NotFoundException implements Exception {
|
||||
final String message;
|
||||
const NotFoundException({this.message});
|
||||
}
|
||||
@@ -27,7 +27,7 @@ class Session {
|
||||
if ( Cache().firstLoad ) {
|
||||
|
||||
print (" -- Session: fetch locale..");
|
||||
await appLanguage.fetchLocale();
|
||||
await appLanguage.getLocale(_sharedPreferences);
|
||||
await AppLocalizations.delegate.load(appLanguage.appLocal);
|
||||
print (" -- Session: fetch token..");
|
||||
await _fetchToken(_sharedPreferences);
|
||||
@@ -95,7 +95,6 @@ class Session {
|
||||
//Navigator.of(context).pushNamed('login');
|
||||
Cache().startPage = "login";
|
||||
} else {
|
||||
print("************** Store SharedPreferences");
|
||||
// get API customer
|
||||
customerId = prefs.getInt(Cache.customerIdKey);
|
||||
await CustomerApi().getCustomer(customerId);
|
||||
|
||||
Reference in New Issue
Block a user