mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Fix player initializer
This commit is contained in:
@@ -231,12 +231,7 @@ struct YatteeApp: App {
|
||||
subscriptions.load()
|
||||
playlists.load()
|
||||
|
||||
#if os(macOS)
|
||||
Windows.player.open()
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
|
||||
Windows.main.focus()
|
||||
}
|
||||
#else
|
||||
#if !os(macOS)
|
||||
player.updateRemoteCommandCenter()
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user