Solve launches too slow

This commit is contained in:
Junyuan Feng
2022-01-09 19:21:42 +08:00
parent 317936c521
commit 7e36c06542
4 changed files with 12 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController.init()
var windowFrame = self.frame
windowFrame.size = CGSize(width: 270, height: 480)
windowFrame.size = CGSize(width: 1080, height: 1920)
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)