From 98da0a534ba8818c10dd08b8db67c7bbf4b6ff9b Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Sat, 22 Jan 2022 08:38:56 +0800 Subject: [PATCH] Mac Notifications: switches alert for banner --- Mac/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index ad024b046..86692df48 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -497,7 +497,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, // MARK: UNUserNotificationCenterDelegate func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { - completionHandler([.alert, .badge, .sound]) + completionHandler([.banner, .badge, .sound]) } func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {