Skip to content

Commit

Permalink
Merge pull request cunarist#433 from cunarist/update-macos-swift-file
Browse files Browse the repository at this point in the history
Update macOS Swift file
  • Loading branch information
temeddix authored Sep 14, 2024
2 parents 952f0e8 + bcb5b4f commit 75234d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flutter_package/example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
Expand Down
4 changes: 4 additions & 0 deletions flutter_package/example/macos/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}

override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
}

0 comments on commit 75234d0

Please sign in to comment.