do not allow pressing prev/next item at videoplayer fullscreen mode

This commit is contained in:
tibbi 2019-01-08 13:19:28 +01:00
parent 7f32e650c7
commit 51cf93001b

View file

@ -431,7 +431,7 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
it.animate().alpha(newAlpha).start() it.animate().alpha(newAlpha).start()
} }
video_seekbar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this) video_seekbar.setOnSeekBarChangeListener(if (mIsFullscreen) null else this)
arrayOf(video_curr_time, video_duration).forEach { arrayOf(video_prev_file, video_next_file, video_curr_time, video_duration).forEach {
it.isClickable = !mIsFullscreen it.isClickable = !mIsFullscreen
} }
} }