1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30

Fix presenting player default value

This commit is contained in:
Arkadiusz Fal 2022-08-29 15:49:27 +02:00
parent 7a16b1fd96
commit d5ffc6554b

View File

@ -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!