From d5ffc6554be0ae43c886b9d022bfe95adf3fd7ef Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 29 Aug 2022 15:49:27 +0200 Subject: [PATCH] Fix presenting player default value --- Model/Player/PlayerModel.swift | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Model/Player/PlayerModel.swift b/Model/Player/PlayerModel.swift index f90e1470..dcfc0c80 100644 --- a/Model/Player/PlayerModel.swift +++ b/Model/Player/PlayerModel.swift @@ -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!