mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
Forgot to set isFullScreen to false upon disabling fullscreen
This commit is contained in:
parent
f261ca8b45
commit
f4e6bcc947
@ -817,6 +817,7 @@ class PlayerFragment : Fragment() {
|
||||
view?.findViewById<FrameLayout>(R.id.top_bar)?.visibility = View.GONE
|
||||
val mainActivity = activity as MainActivity
|
||||
mainActivity.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
|
||||
isFullScreen = false;
|
||||
} else {
|
||||
with(motionLayout) {
|
||||
getConstraintSet(R.id.start).constrainHeight(R.id.player, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user