Surface/macos/Runner/AppDelegate.swift

14 lines
311 B
Swift
Raw Normal View History

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