2025-02-23 20:50:34 +01:00
|
|
|
import Cocoa
|
|
|
|
import FlutterMacOS
|
|
|
|
|
|
|
|
@main
|
|
|
|
class AppDelegate: FlutterAppDelegate {
|
|
|
|
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
|
|
|
return true
|
|
|
|
}
|
2025-02-28 22:35:18 +01:00
|
|
|
|
|
|
|
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
|
|
|
|
return true
|
|
|
|
}
|
2025-02-23 20:50:34 +01:00
|
|
|
}
|