diff --git a/Model/Player/PlayerModel.swift b/Model/Player/PlayerModel.swift index f944e590..efa40a61 100644 --- a/Model/Player/PlayerModel.swift +++ b/Model/Player/PlayerModel.swift @@ -131,8 +131,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() {