remove notification badge when vote through notification
This commit is contained in:
@@ -261,8 +261,6 @@
|
|||||||
1CD90AEA278C7DDF001C4FEA /* Shared */ = {
|
1CD90AEA278C7DDF001C4FEA /* Shared */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
1CA03771279A291F00D26164 /* Onboarding */,
|
|
||||||
1C26190127960CDA00FDC148 /* Protocol */,
|
|
||||||
1CD90AED278C7DDF001C4FEA /* FeelsApp.swift */,
|
1CD90AED278C7DDF001C4FEA /* FeelsApp.swift */,
|
||||||
1C744F2B278CE15600953A57 /* AppDelegate.swift */,
|
1C744F2B278CE15600953A57 /* AppDelegate.swift */,
|
||||||
1CC469A9278F30A0003E0C6E /* BGTask.swift */,
|
1CC469A9278F30A0003E0C6E /* BGTask.swift */,
|
||||||
@@ -270,6 +268,8 @@
|
|||||||
1CD90AEF278C7DDF001C4FEA /* Persistence.swift */,
|
1CD90AEF278C7DDF001C4FEA /* Persistence.swift */,
|
||||||
1CD90B5C278C7EAD001C4FEA /* Random.swift */,
|
1CD90B5C278C7EAD001C4FEA /* Random.swift */,
|
||||||
1C683FC92792281400745862 /* Stats.swift */,
|
1C683FC92792281400745862 /* Stats.swift */,
|
||||||
|
1CA03771279A291F00D26164 /* Onboarding */,
|
||||||
|
1C26190127960CDA00FDC148 /* Protocol */,
|
||||||
1CD90B31278C7E38001C4FEA /* views */,
|
1CD90B31278C7E38001C4FEA /* views */,
|
||||||
1CD90B60278C7EBA001C4FEA /* Models */,
|
1CD90B60278C7EBA001C4FEA /* Models */,
|
||||||
1CD90AF0278C7DE0001C4FEA /* Assets.xcassets */,
|
1CD90AF0278C7DE0001C4FEA /* Assets.xcassets */,
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
|
|||||||
case .great:
|
case .great:
|
||||||
PersistenceController.shared.add(mood: .great, forDate: date)
|
PersistenceController.shared.add(mood: .great, forDate: date)
|
||||||
}
|
}
|
||||||
|
UIApplication.shared.applicationIconBadgeNumber = 0
|
||||||
}
|
}
|
||||||
WidgetCenter.shared.reloadAllTimelines()
|
WidgetCenter.shared.reloadAllTimelines()
|
||||||
completionHandler()
|
completionHandler()
|
||||||
|
|||||||
Reference in New Issue
Block a user