mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
do not allow clicking the play/pause at fullscreen videos
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user