mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Revert "Remove "Honor system orientation lock""
This reverts commit 2d51f6adff
.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user