From 582048590f047ec52d6e72c37848c1b34ab8a525 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 21 Apr 2020 18:00:15 +0200 Subject: [PATCH] do not allow clicking the play/pause at fullscreen videos --- .../simplemobiletools/gallery/pro/fragments/VideoFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/VideoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/VideoFragment.kt index e15f2486d..d2142bfc1 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/VideoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/VideoFragment.kt @@ -504,7 +504,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S } mSeekBar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this) - arrayOf(mView.video_curr_time, mView.video_duration).forEach { + arrayOf(mView.video_curr_time, mView.video_duration, mView.video_toggle_play_pause).forEach { it.isClickable = !mIsFullscreen }