mirror of
https://github.com/yattee/yattee.git
synced 2025-11-25 02:38:29 +00:00
Remove "Rotate to portrait when exiting fullscreen" setting
Now it is automatically decided depending on device type
This commit is contained in:
@@ -42,7 +42,7 @@ import SwiftUI
|
||||
#if os(iOS)
|
||||
self.player.lockedOrientation = nil
|
||||
|
||||
if Defaults[.rotateToPortraitOnExitFullScreen] {
|
||||
if Constants.isIPhone {
|
||||
Orientation.lockOrientation(.allButUpsideDown, andRotateTo: .portrait)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user