Revert "Remove "Honor system orientation lock""

This reverts commit 2d51f6adff.
This commit is contained in:
Arkadiusz Fal
2022-11-13 12:49:39 +01:00
parent ac99971d03
commit 0049a68839
4 changed files with 13 additions and 4 deletions

View File

@@ -177,6 +177,7 @@ extension Defaults.Keys {
static let visibleSections = Key<Set<VisibleSection>>("visibleSections", default: [.subscriptions, .trending, .playlists])
#if os(iOS)
static let honorSystemOrientationLock = Key<Bool>("honorSystemOrientationLock", default: true)
static let enterFullscreenInLandscape = Key<Bool>("enterFullscreenInLandscape", default: UIDevice.current.userInterfaceIdiom == .phone)
static let rotateToPortraitOnExitFullScreen = Key<Bool>("rotateToPortraitOnExitFullScreen", default: UIDevice.current.userInterfaceIdiom == .phone)
#endif