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 9883971ee..7b13d98ed 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 @@ -686,14 +686,20 @@ internal class CustomExoPlayerView( } override fun onSwipeLeftScreen(distanceY: Float) { - if (!PlayerHelper.swipeGestureEnabled) return + if (!PlayerHelper.swipeGestureEnabled) { + if (PlayerHelper.fullscreenGesturesEnabled) onSwipeCenterScreen(distanceY) + return + } if (isControllerFullyVisible) hideController() updateBrightness(distanceY) } override fun onSwipeRightScreen(distanceY: Float) { - if (!PlayerHelper.swipeGestureEnabled) return + if (!PlayerHelper.swipeGestureEnabled) { + if (PlayerHelper.fullscreenGesturesEnabled) onSwipeCenterScreen(distanceY) + return + } if (isControllerFullyVisible) hideController() updateVolume(distanceY)