mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
fix: regression from fixing auto rotation for auto play
This commit is contained in:
parent
3ab5b4de8a
commit
a830a26f9b
@ -541,7 +541,6 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
||||
playerBinding.exoTitle.visibility = View.VISIBLE
|
||||
|
||||
updateFullscreenOrientation()
|
||||
|
||||
viewModel.isFullscreen.value = true
|
||||
}
|
||||
|
||||
@ -754,7 +753,8 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
||||
prepareExoPlayerView()
|
||||
initializePlayerView()
|
||||
setupSeekbarPreview()
|
||||
updateFullscreenOrientation()
|
||||
|
||||
if (viewModel.isFullscreen.value == true) updateFullscreenOrientation()
|
||||
|
||||
exoPlayer.prepare()
|
||||
if (PreferenceHelper.getBoolean(PreferenceKeys.PLAY_AUTOMATICALLY, true)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user