Showing
1 changed file
with
1 additions
and
1 deletions
| 1 | import Cocoa | 1 | import Cocoa |
| 2 | import FlutterMacOS | 2 | import FlutterMacOS |
| 3 | 3 | ||
| 4 | -@NSApplicationMain | 4 | +@main |
| 5 | class AppDelegate: FlutterAppDelegate { | 5 | class AppDelegate: FlutterAppDelegate { |
| 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { | 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { |
| 7 | return true | 7 | return true |
-
Please register or login to post a comment