do not allow clicking the play/pause at fullscreen videos

This commit is contained in:
tibbi 2020-04-21 18:00:15 +02:00
parent f2c77693db
commit 582048590f
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
} }
mSeekBar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this) 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 it.isClickable = !mIsFullscreen
} }