v1.1 dart fix

This commit is contained in:
bossanyit
2023-05-14 09:53:18 +02:00
parent 7e4934f15e
commit 14731c5ee7
9 changed files with 68 additions and 64 deletions
+2 -2
View File
@@ -481,7 +481,7 @@ class Cache with Logging {
_exercisesTrainee = null;
_traineeExercisePlan = null;
_exercises = [];
_myExercisesPlanDetails = LinkedHashMap();
_myExercisesPlanDetails = LinkedHashMap<int, ExercisePlanDetail>();
log("Trainees is null? ${_trainee == null}");
Future<SharedPreferences> prefs = SharedPreferences.getInstance();
await setPreferences(prefs, SharePrefsChange.logout, 0, "");
@@ -637,7 +637,7 @@ class Cache with Logging {
void initBadges() {
CustomerRepository customerRepository = CustomerRepository();
_badges = LinkedHashMap();
_badges = LinkedHashMap<String, int>();
if (userLoggedIn == null) {
return;
}