diff options
Diffstat (limited to 'macos/Runner/AppDelegate.swift')
| -rwxr-xr-x | macos/Runner/AppDelegate.swift | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift new file mode 100755 index 0000000..553a135 --- /dev/null +++ b/macos/Runner/AppDelegate.swift @@ -0,0 +1,9 @@ +import Cocoa
+import FlutterMacOS
+
+@NSApplicationMain
+class AppDelegate: FlutterAppDelegate {
+ override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+}
|
