Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -3,7 +3,7 @@ import FlutterMacOS | @@ -3,7 +3,7 @@ import FlutterMacOS | ||
| 3 | 3 | ||
| 4 | class MainFlutterWindow: NSWindow { | 4 | class MainFlutterWindow: NSWindow { |
| 5 | override func awakeFromNib() { | 5 | override func awakeFromNib() { |
| 6 | - let flutterViewController = FlutterViewController.init() | 6 | + let flutterViewController = FlutterViewController() |
| 7 | let windowFrame = self.frame | 7 | let windowFrame = self.frame |
| 8 | self.contentViewController = flutterViewController | 8 | self.contentViewController = flutterViewController |
| 9 | self.setFrame(windowFrame, display: true) | 9 | self.setFrame(windowFrame, display: true) |
-
Please register or login to post a comment