Skip to content

Commit 5e0b964

Browse files
rajveermalviyagnprice
authored andcommitted
macos: Take automatic migration away from @NSApplicationMain
This change was made automatically by `flutter run`, along with the following warning: macos/Runner/AppDelegate.swift uses the deprecated @NSApplicationMain attribute, updating. This change is the macOS counterpart of a previous commit for iOS: 5f111cb
1 parent 0573d8e commit 5e0b964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macos/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Cocoa
22
import FlutterMacOS
33

4-
@NSApplicationMain
4+
@main
55
class AppDelegate: FlutterAppDelegate {
66
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
77
return true

0 commit comments

Comments
 (0)