Skip to content
Snippets Groups Projects
Commit c4bd5626 authored by Kelvin's avatar Kelvin
Browse files

Fix usable motionlayout on portrait fullscreen

parent 568a0f63
No related branches found
No related tags found
No related merge requests found
...@@ -424,6 +424,7 @@ class VideoDetailFragment : MainFragment { ...@@ -424,6 +424,7 @@ class VideoDetailFragment : MainFragment {
changeOrientation(OrientationManager.Orientation.PORTRAIT); changeOrientation(OrientationManager.Orientation.PORTRAIT);
} }
isFullscreen = fullscreen; isFullscreen = fullscreen;
_view?.allowMotion = !fullscreen;
} }
private fun changeOrientation(orientation: OrientationManager.Orientation) { private fun changeOrientation(orientation: OrientationManager.Orientation) {
Logger.i(TAG, "Orientation Change:" + orientation.name); Logger.i(TAG, "Orientation Change:" + orientation.name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment