Prevent quit on close

This commit is contained in:
Feodor Fitsner 2024-11-05 11:00:15 -08:00
parent 713eb88a1c
commit 1735bc6a18
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ import FlutterMacOS
@NSApplicationMain @NSApplicationMain
class AppDelegate: FlutterAppDelegate { class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true return false
} }
} }