Prevent quit on close
This commit is contained in:
parent
713eb88a1c
commit
1735bc6a18
|
|
@ -4,6 +4,6 @@ import FlutterMacOS
|
|||
@NSApplicationMain
|
||||
class AppDelegate: FlutterAppDelegate {
|
||||
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
||||
return true
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue