From 071d02981886fa23353ef8da6c4d9693ef8ddbce Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 13 Dec 2023 20:07:58 -0800 Subject: [PATCH] Fix deprecation warning. --- Mac/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 7feee8182..19b87ccac 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -481,7 +481,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) {