Tab bar badge now disappears when opening the personal plan

This commit is contained in:
Deniz Duezgoeren
2019-09-18 11:41:17 +02:00
parent 3608d7d363
commit 67d6c5329e
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -148,7 +148,9 @@ class DataFetcher {
}
}
if type == "personal" {
personalPlanCount = 0
}
prefs.set(personalPlanCount, forKey: "personalPlanCount")
if isPersonalEmpty {
personalSubst.append(SubstModel(group: "", course: NSLocalizedString("personal_plan_empty", comment: ""), additional: "", date: "", time: "", room: "", teacher: "", type: ""))