Prevent window tabs

This commit is contained in:
Nindi Gill 2022-12-11 21:16:30 +11:00
parent c6fbe036c0
commit 8f47603af3

View file

@ -19,6 +19,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
let success: UNNotificationCategory = UNNotificationCategory(identifier: UNNotificationCategory.Identifier.success, actions: [show], intentIdentifiers: [], options: [])
let failure: UNNotificationCategory = UNNotificationCategory(identifier: UNNotificationCategory.Identifier.failure, actions: [], intentIdentifiers: [], options: [])
UNUserNotificationCenter.current().setNotificationCategories([success, failure])
NSWindow.allowsAutomaticWindowTabbing = false
}
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {