Miniplayer now shows proper replay button. Partially solves #1811.

This commit is contained in:
GilesMunn 2022-11-12 17:38:58 +00:00
parent 5b5d5b8bab
commit b42846de6c

View File

@ -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 {