summaryrefslogtreecommitdiff
path: root/macos/Runner/AppDelegate.swift
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-11-20 13:25:53 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-11-20 13:25:53 +0200
commita15bf522340de49118b0a88369a6cc892dfee9d0 (patch)
treef609e32907d704b1e9980894e4dc79c703cbe476 /macos/Runner/AppDelegate.swift
downloadcarpool-a15bf522340de49118b0a88369a6cc892dfee9d0.tar.xz
carpool-a15bf522340de49118b0a88369a6cc892dfee9d0.zip
Intial commit
Diffstat (limited to 'macos/Runner/AppDelegate.swift')
-rw-r--r--macos/Runner/AppDelegate.swift9
1 files changed, 9 insertions, 0 deletions
diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift
new file mode 100644
index 0000000..d53ef64
--- /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
+ }
+}