Correctly save stream progress at the end of a video

This commit is contained in:
Stypox 2021-06-07 09:35:40 +02:00
parent 70c33b64e9
commit f07eaa13d5
13 changed files with 74 additions and 92 deletions

View file

@ -1669,7 +1669,7 @@ public final class VideoDetailFragment
.onErrorComplete()
.observeOn(AndroidSchedulers.mainThread())
.subscribe(state -> {
showPlaybackProgress(state.getProgressTime(), info.getDuration() * 1000);
showPlaybackProgress(state.getProgressMillis(), info.getDuration() * 1000);
animate(binding.positionView, true, 500);
animate(binding.detailPositionView, true, 500);
}, e -> {