mirror of
https://github.com/flutter/samples.git
synced 2026-04-19 05:22:16 +00:00
Add desktop runners (#892)
This commit is contained in:
committed by
GitHub
parent
79c7cc70a5
commit
912418be86
9
testing_app/macos/Runner/AppDelegate.swift
Normal file
9
testing_app/macos/Runner/AppDelegate.swift
Normal file
@@ -0,0 +1,9 @@
|
||||
import Cocoa
|
||||
import FlutterMacOS
|
||||
|
||||
@NSApplicationMain
|
||||
class AppDelegate: FlutterAppDelegate {
|
||||
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
||||
return true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user