mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-19 06:48:00 +01:00
do not hide the video Play button if we are at the beginning
This commit is contained in:
parent
adc5b9b856
commit
0ca8cca358
1 changed files with 3 additions and 1 deletions
|
@ -584,7 +584,9 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||
mHidePauseHandler.removeCallbacksAndMessages(null)
|
||||
} else {
|
||||
mHidePauseHandler.postDelayed({
|
||||
if (mExoPlayer?.currentPosition ?: 0 > 0) {
|
||||
mView!!.video_play_outline.animate().alpha(0f).start()
|
||||
}
|
||||
}, HIDE_PAUSE_DELAY)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue