From 8b63d27cdc8b3a2410464cf5e2e4b2654aefc442 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 8 Jan 2019 10:00:38 +0100 Subject: [PATCH] fix #1191, allow toggling play/pause in fullscreen mode --- .../gallery/pro/activities/VideoPlayerActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 272ac8ab1..4c512467a 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 @@ -402,7 +402,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen it.animate().alpha(newAlpha).start() } video_seekbar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this) - arrayOf(video_toggle_play_pause, video_curr_time, video_duration).forEach { + arrayOf(video_curr_time, video_duration).forEach { it.isClickable = !mIsFullscreen } }