mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix presenting player default value
This commit is contained in:
parent
7a16b1fd96
commit
d5ffc6554b
@ -53,12 +53,7 @@ final class PlayerModel: ObservableObject {
|
||||
|
||||
var mpvPlayerView = MPVPlayerView()
|
||||
|
||||
#if os(iOS)
|
||||
static let presentingPlayerDefault = true
|
||||
#else
|
||||
static let presentingPlayerDefault = false
|
||||
#endif
|
||||
@Published var presentingPlayer = presentingPlayerDefault { didSet { handlePresentationChange() } }
|
||||
@Published var presentingPlayer = false
|
||||
@Published var activeBackend = PlayerBackendType.mpv
|
||||
|
||||
var avPlayerBackend: AVPlayerBackend!
|
||||
|
Loading…
Reference in New Issue
Block a user