mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Improve windows handling on macOS
This commit is contained in:
@@ -14,7 +14,7 @@ struct OpenURLHandler {
|
||||
}
|
||||
|
||||
#if os(macOS)
|
||||
guard url.host != OpenWindow.player.location else {
|
||||
guard url.host != Windows.player.location else {
|
||||
return
|
||||
}
|
||||
#endif
|
||||
@@ -28,7 +28,7 @@ struct OpenURLHandler {
|
||||
}
|
||||
|
||||
#if os(macOS)
|
||||
OpenWindow.main.open()
|
||||
Windows.main.open()
|
||||
#endif
|
||||
|
||||
accounts.api.video(id).load().onSuccess { response in
|
||||
|
Reference in New Issue
Block a user