Fix build on macOS 26 SDK
This commit is contained in:
3 files changed
+17
-5
No files matched your search
@@ -219,6 +219,7 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
||||
|
||||
//MARK: Notification delegate
|
||||
|
||||
@available(macOS 10.14, *)
|
||||
func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
|
||||
completionHandler([.sound])
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user