mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
Miniplayer now shows proper replay button. Partially solves #1811.
This commit is contained in:
parent
5b5d5b8bab
commit
b42846de6c
@ -308,7 +308,7 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions {
|
|||||||
binding.playImageView.setImageResource(R.drawable.ic_pause)
|
binding.playImageView.setImageResource(R.drawable.ic_pause)
|
||||||
if (exoPlayer.playbackState == Player.STATE_ENDED) {
|
if (exoPlayer.playbackState == Player.STATE_ENDED) {
|
||||||
// restart video if finished
|
// restart video if finished
|
||||||
exoPlayer.seekTo(0);
|
exoPlayer.seekTo(0)
|
||||||
}
|
}
|
||||||
exoPlayer.play()
|
exoPlayer.play()
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user