Fix build on macOS 26 SDK

This commit is contained in:
Damiano Galassi committed 2026-09-22 20:34:17 +02:00
1 parent d8d40fa315
commit 7990e816b2
3 files changed
+17 -5

No files matched your search

+1
View File
@@ -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])
}