mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Fix usable motionlayout on portrait fullscreen
This commit is contained in:
parent
568a0f6329
commit
c4bd5626f3
1 changed files with 1 additions and 0 deletions
|
@ -424,6 +424,7 @@ class VideoDetailFragment : MainFragment {
|
|||
changeOrientation(OrientationManager.Orientation.PORTRAIT);
|
||||
}
|
||||
isFullscreen = fullscreen;
|
||||
_view?.allowMotion = !fullscreen;
|
||||
}
|
||||
private fun changeOrientation(orientation: OrientationManager.Orientation) {
|
||||
Logger.i(TAG, "Orientation Change:" + orientation.name);
|
||||
|
|
Loading…
Add table
Reference in a new issue