Skip to content

Commit af74247

Browse files
committed
macOS: fix hide
1 parent 3678a0a commit af74247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/window_manager/macos/Classes/WindowManager.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public class WindowManager: NSObject, NSWindowDelegate {
137137

138138
public func hide() {
139139
DispatchQueue.main.async {
140-
self.mainWindow.orderOut(nil)
140+
NSApp.hide(nil)
141141
}
142142
}
143143

0 commit comments

Comments
 (0)