diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 322b772f7..35e95b965 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -231,6 +231,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, refreshTimer = AccountRefreshTimer() syncTimer = ArticleStatusSyncTimer() + UNUserNotificationCenter.current().requestAuthorization(options:[.badge]) { (granted, error) in } + UNUserNotificationCenter.current().getNotificationSettings { (settings) in if settings.authorizationStatus == .authorized { DispatchQueue.main.async {