enaklo-flutter/macos/Runner/AppDelegate.swift

14 lines
311 B
Swift
Raw Normal View History

2025-08-27 12:17:23 +07: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
}
}