mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
do not hide the video Play button if we are at the beginning
This commit is contained in:
@ -584,7 +584,9 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||||||
mHidePauseHandler.removeCallbacksAndMessages(null)
|
mHidePauseHandler.removeCallbacksAndMessages(null)
|
||||||
} else {
|
} else {
|
||||||
mHidePauseHandler.postDelayed({
|
mHidePauseHandler.postDelayed({
|
||||||
mView!!.video_play_outline.animate().alpha(0f).start()
|
if (mExoPlayer?.currentPosition ?: 0 > 0) {
|
||||||
|
mView!!.video_play_outline.animate().alpha(0f).start()
|
||||||
|
}
|
||||||
}, HIDE_PAUSE_DELAY)
|
}, HIDE_PAUSE_DELAY)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user