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

View file

@ -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
}