mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
shortening some code
This commit is contained in:
@ -497,12 +497,10 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
|
||||
}
|
||||
|
||||
private fun skip(forward: Boolean) {
|
||||
if (mExoPlayer == null) {
|
||||
return
|
||||
}
|
||||
|
||||
if (mExoPlayer != null) {
|
||||
doSkip(forward)
|
||||
}
|
||||
}
|
||||
|
||||
private fun doSkip(forward: Boolean) {
|
||||
val curr = mExoPlayer!!.currentPosition
|
||||
|
Reference in New Issue
Block a user