wt1.1.1 ExercisePlan + ExercisePlan detail, Trainee

This commit is contained in:
Bossanyi Tibor
2020-09-16 15:41:39 +02:00
parent f0ba820385
commit 0b4ff2fb7f
54 changed files with 2985 additions and 313 deletions
+4
View File
@@ -0,0 +1,4 @@
class NotFoundException implements Exception {
final String message;
const NotFoundException({this.message});
}
+1 -2
View File
@@ -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);