Attempted fix for double controls

This commit is contained in:
Kelvin 2024-02-16 14:58:17 +01:00
parent 08934ef8de
commit b12d04b27d

View File

@ -582,6 +582,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
_videoControls_fullscreen.show(); _videoControls_fullscreen.show();
videoControls.hideImmediately(); videoControls.hideImmediately();
videoControls.visibility = View.GONE;
} }
else { else {
val lp = background.layoutParams as ConstraintLayout.LayoutParams; val lp = background.layoutParams as ConstraintLayout.LayoutParams;
@ -594,6 +595,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
videoControls.show(); videoControls.show();
_videoControls_fullscreen.hideImmediately(); _videoControls_fullscreen.hideImmediately();
_videoControls_fullscreen.visibility = View.GONE;
} }
fitOrFill(fullScreen); fitOrFill(fullScreen);