diff options
| author | Mica White <botahamec@outlook.com> | 2026-02-08 10:10:24 -0500 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-02-08 10:10:24 -0500 |
| commit | 1716cf45d0e4e41c7833105dab10542f5ed5dcf1 (patch) | |
| tree | 99ae387cfb3b96c30bbe3fd4cd619dc291505f68 /macos/Runner/AppDelegate.swift | |
Diffstat (limited to 'macos/Runner/AppDelegate.swift')
| -rw-r--r-- | macos/Runner/AppDelegate.swift | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift new file mode 100644 index 0000000..c5c474d --- /dev/null +++ b/macos/Runner/AppDelegate.swift @@ -0,0 +1,13 @@ +import Cocoa
+import FlutterMacOS
+
+@main
+class AppDelegate: FlutterAppDelegate {
+ override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+
+ override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
+ return true
+ }
+}
|
