Improve windows handling on macOS

This commit is contained in:
Arkadiusz Fal
2022-01-06 16:35:45 +01:00
parent 3baa7a6893
commit 8a74938b98
7 changed files with 91 additions and 59 deletions

View File

@@ -50,7 +50,7 @@ final class NavigationModel: ObservableObject {
) {
let recent = RecentItem(from: channel)
#if os(macOS)
OpenWindow.main.open()
Windows.main.open()
#else
player.hide()
#endif