mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-24 20:14:41 -04:00
Prevent window tabs
This commit is contained in:
parent
c6fbe036c0
commit
8f47603af3
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue