From b3ffb226d4f26a2aefe92789435677c2519aae2e Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sat, 4 Feb 2023 11:18:20 +0100 Subject: [PATCH] Improve double tap on center of player --- .../java/com/github/libretube/ui/views/CustomExoPlayerView.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/com/github/libretube/ui/views/CustomExoPlayerView.kt b/app/src/main/java/com/github/libretube/ui/views/CustomExoPlayerView.kt index 9bf8c0509..bc46f7f9c 100644 --- a/app/src/main/java/com/github/libretube/ui/views/CustomExoPlayerView.kt +++ b/app/src/main/java/com/github/libretube/ui/views/CustomExoPlayerView.kt @@ -618,10 +618,8 @@ internal class CustomExoPlayerView( player?.let { player -> if (player.isPlaying) { player.pause() - if (!isControllerFullyVisible) showController() } else { player.play() - if (isControllerFullyVisible) hideController() } } }