diff --git a/Model/Player/PlayerModel.swift b/Model/Player/PlayerModel.swift index 3be73d27..050aa187 100644 --- a/Model/Player/PlayerModel.swift +++ b/Model/Player/PlayerModel.swift @@ -129,8 +129,15 @@ final class PlayerModel: ObservableObject { } func hide() { + controls.playingFullscreen = false presentingPlayer = false playerNavigationLinkActive = false + + #if os(iOS) + if Defaults[.lockPortraitWhenBrowsing] { + Orientation.lockOrientation(.portrait, andRotateTo: .portrait) + } + #endif } func togglePlayer() {