Remove request for notifications. We will implement this later in the preferences when a user opts in to them.

This commit is contained in:
Maurice Parker 2020-06-28 14:30:13 -05:00
parent 441bc072f3
commit da9325a93b

View File

@ -155,7 +155,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
refreshTimer = AccountRefreshTimer()
syncTimer = ArticleStatusSyncTimer()
UNUserNotificationCenter.current().requestAuthorization(options:[.badge, .sound, .alert]) { (granted, error) in }
NSApplication.shared.registerForRemoteNotifications()
UNUserNotificationCenter.current().delegate = self