macos: hide quits the app
sgehrman opened this issue · comments
I'm running the example app on a mac.
hiding the window should just hide the window, but the whole app quits. Is there an xcode setting for this? I'll check.
You should set this to false in your example. Otherwise it's not very useful on macos.
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return false. <-- this was true
}
}