remove notification badge when vote through notification
This commit is contained in:
@@ -54,6 +54,7 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
|
||||
case .great:
|
||||
PersistenceController.shared.add(mood: .great, forDate: date)
|
||||
}
|
||||
UIApplication.shared.applicationIconBadgeNumber = 0
|
||||
}
|
||||
WidgetCenter.shared.reloadAllTimelines()
|
||||
completionHandler()
|
||||
|
||||
Reference in New Issue
Block a user