Skip to content

Commit

Permalink
macos: Take automatic migration away from @NSApplicationMain
Browse files Browse the repository at this point in the history
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:
  zulip@5f111cb
  • Loading branch information
rajveermalviya authored and gnprice committed May 14, 2024
1 parent 0573d8e commit 5e0b964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macos/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Cocoa
import FlutterMacOS

@NSApplicationMain
@main
class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
Expand Down

0 comments on commit 5e0b964

Please sign in to comment.