Files
Dart-Flutter/my_travel/macos/Runner/AppDelegate.swift

14 lines
311 B
Swift
Raw Normal View History

2025-10-07 12:25:41 +02:00
import Cocoa
import FlutterMacOS
@main
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
}