|
@@ -196,7 +196,7 @@ final class BaseUserNotificationsManager: NSObject, UserNotificationsManager, In
|
|
|
// Make check double to remove the nil in case not needed anymore...
|
|
// Make check double to remove the nil in case not needed anymore...
|
|
|
if lastGlucose.dateString.addingTimeInterval(19.minutes.timeInterval) < Date() {
|
|
if lastGlucose.dateString.addingTimeInterval(19.minutes.timeInterval) < Date() {
|
|
|
self.addAppBadge(glucose: nil)
|
|
self.addAppBadge(glucose: nil)
|
|
|
- } else { self.addAppBadge(glucose: lastGlucose.glucose) }
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|