Fixed "Changing the seeks duration does not update the displayed seconds"

This commit is contained in:
litetex 2022-01-25 20:44:49 +01:00
parent b291b5ca3c
commit 3e23aa0071
2 changed files with 6 additions and 6 deletions

View file

@ -586,7 +586,8 @@ public final class Player implements
*/
private void setupPlayerSeekOverlay() {
binding.fastSeekOverlay
.seekSeconds((int) (retrieveSeekDurationFromPreferences(this) / 1000.0f))
.seekSecondsSupplier(
() -> (int) (retrieveSeekDurationFromPreferences(this) / 1000.0f))
.performListener(new PlayerFastSeekOverlay.PerformListener() {
@Override