Fix: Migrations

This commit is contained in:
Hariharan Mudaliar 2025-08-03 21:26:50 +05:30
commit be152c1531
41 changed files with 2373 additions and 1321 deletions

View file

@ -55,10 +55,10 @@ struct DynamicNotchApp: App {
workspace.openApplication(at: appURL, configuration: configuration)
}
NSApplication.shared.terminate(nil)
NSApplication.shared.terminate(self)
}
Button("Quit", role: .destructive) {
NSApp.terminate(nil)
NSApplication.shared.terminate(self)
}
.keyboardShortcut(KeyEquivalent("Q"), modifiers: .command)
}
@ -80,7 +80,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
@ObservedObject var coordinator = DynamicIslandViewCoordinator.shared
var whatsNewWindow: NSWindow?
var timer: Timer?
let calendarManager = CalendarManager()
let calendarManager = CalendarManager.shared
let webcamManager = WebcamManager.shared
var closeNotchWorkItem: DispatchWorkItem?
private var previousScreens: [NSScreen]?