Surface/macos/Runner/AppDelegate.swift

14 lines
311 B
Swift
Raw Normal View History

2024-11-08 16:09:46 +00:00
import Cocoa
import FlutterMacOS
@main
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}
2024-12-13 16:14:23 +00:00
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
2024-11-08 16:09:46 +00:00
}