From 3376e14f20cdb0304e6ff018d1e8d79ad3725078 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 4 Jan 2019 14:21:36 +0100 Subject: [PATCH] fix clicking on screen sides at video player --- .../gallery/pro/activities/VideoPlayerActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/VideoPlayerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/VideoPlayerActivity.kt index 137d5e7cd..00fcdfedf 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/VideoPlayerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/VideoPlayerActivity.kt @@ -165,11 +165,11 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen if (config.allowVideoGestures) { video_brightness_controller.initialize(this, slide_info, true, video_player_holder) { x, y -> - video_player_holder.performClick() + fullscreenToggled(!mIsFullscreen) } video_volume_controller.initialize(this, slide_info, false, video_player_holder) { x, y -> - video_player_holder.performClick() + fullscreenToggled(!mIsFullscreen) } } else { video_brightness_controller.beGone()