From b12d04b27d10e54e2b49d0587d43d189ce32c238 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Fri, 16 Feb 2024 14:58:17 +0100 Subject: [PATCH] Attempted fix for double controls --- .../java/com/futo/platformplayer/views/video/FutoVideoPlayer.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/futo/platformplayer/views/video/FutoVideoPlayer.kt b/app/src/main/java/com/futo/platformplayer/views/video/FutoVideoPlayer.kt index 298af4ab..b7a44fbe 100644 --- a/app/src/main/java/com/futo/platformplayer/views/video/FutoVideoPlayer.kt +++ b/app/src/main/java/com/futo/platformplayer/views/video/FutoVideoPlayer.kt @@ -582,6 +582,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase { _videoControls_fullscreen.show(); videoControls.hideImmediately(); + videoControls.visibility = View.GONE; } else { val lp = background.layoutParams as ConstraintLayout.LayoutParams; @@ -594,6 +595,7 @@ class FutoVideoPlayer : FutoVideoPlayerBase { videoControls.show(); _videoControls_fullscreen.hideImmediately(); + _videoControls_fullscreen.visibility = View.GONE; } fitOrFill(fullScreen);