From 00f40787c7f110e74411da2f1427fb493c3dd565 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 5 Oct 2022 13:15:38 -0500 Subject: [PATCH] Add the alert and sound notification permissions so that they show on the System Preferences --- Mac/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 959c2c213..29a29dd47 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -243,7 +243,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, refreshTimer = AccountRefreshTimer() syncTimer = ArticleStatusSyncTimer() - UNUserNotificationCenter.current().requestAuthorization(options:[.badge]) { (granted, error) in } + UNUserNotificationCenter.current().requestAuthorization(options:[.badge, .alert, .badge]) { (granted, error) in } UNUserNotificationCenter.current().getNotificationSettings { (settings) in if settings.authorizationStatus == .authorized {