Shlomo
2025-10-20 19:07:25 +03:00
committed by GitHub
parent a8f9ece32f
commit 52f13086c9

View File

@@ -19,6 +19,10 @@ class AppDelegate: FlutterAppDelegate {
private var pendingStringsObservation: Defaults.Observation?
private var isLaunchedAsLoginItem: Bool?
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
// LocalSend handles the close event manually
return false