diff --git a/Mac/Inspector/WebFeedInspectorViewController.swift b/Mac/Inspector/WebFeedInspectorViewController.swift index 91e146a8e..43f8bfed6 100644 --- a/Mac/Inspector/WebFeedInspectorViewController.swift +++ b/Mac/Inspector/WebFeedInspectorViewController.swift @@ -173,9 +173,9 @@ private extension WebFeedInspectorViewController { func updateNotificationSettings() { UNUserNotificationCenter.current().getNotificationSettings { (settings) in - DispatchQueue.main.async { - self.userNotificationSettings = settings - if settings.authorizationStatus == .authorized { + self.userNotificationSettings = settings + if settings.authorizationStatus == .authorized { + DispatchQueue.main.async { NSApplication.shared.registerForRemoteNotifications() } }