14 lines
		
	
	
		
			311 B
		
	
	
	
		
			Swift
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			311 B
		
	
	
	
		
			Swift
		
	
	
	
	
	
| 
								 | 
							
								import Cocoa
							 | 
						||
| 
								 | 
							
								import FlutterMacOS
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								@main
							 | 
						||
| 
								 | 
							
								class AppDelegate: FlutterAppDelegate {
							 | 
						||
| 
								 | 
							
								  override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
							 | 
						||
| 
								 | 
							
								    return true
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
							 | 
						||
| 
								 | 
							
								    return true
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								}
							 |