diff --git a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailFragment.kt b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailFragment.kt index a12d451b..e27acb48 100644 --- a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailFragment.kt +++ b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailFragment.kt @@ -173,7 +173,7 @@ class VideoDetailFragment() : MainFragment() { val autoRotateEnabled = isAutoRotateEnabled() // For small windows if the device isn't landscape right now and full screen portrait isn't allowed then we should force landscape - if (isSmallWindow && isFullscreen && !isFullScreenPortraitAllowed && resources.configuration.orientation == Configuration.ORIENTATION_PORTRAIT && !rotationLock && isLandscapeVideo && !alwaysAllowReverseLandscapeAutoRotate) { + if (isSmallWindow && isFullscreen && !isFullScreenPortraitAllowed && resources.configuration.orientation == Configuration.ORIENTATION_PORTRAIT && !rotationLock && isLandscapeVideo) { a.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE if (autoRotateEnabled ) {