update skip/forward value

This commit is contained in:
asdoi 2020-09-08 16:44:53 +02:00
parent 06315821d5
commit c4673662b2
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,6 @@ public class AudioPlayerFragment extends Fragment implements
setupLengthTextView(); setupLengthTextView();
setupControlButtons(); setupControlButtons();
setupPlaybackSpeedButton(); setupPlaybackSpeedButton();
txtvRev.setText(NumberFormat.getInstance().format(UserPreferences.getRewindSecs()));
txtvFF.setText(NumberFormat.getInstance().format(UserPreferences.getFastForwardSecs()));
sbPosition.setOnSeekBarChangeListener(this); sbPosition.setOnSeekBarChangeListener(this);
pager = root.findViewById(R.id.pager); pager = root.findViewById(R.id.pager);
@ -379,6 +377,8 @@ public class AudioPlayerFragment extends Fragment implements
controller.init(); controller.init();
loadMediaInfo(); loadMediaInfo();
EventBus.getDefault().register(this); EventBus.getDefault().register(this);
txtvRev.setText(NumberFormat.getInstance().format(UserPreferences.getRewindSecs()));
txtvFF.setText(NumberFormat.getInstance().format(UserPreferences.getFastForwardSecs()));
} }
@Override @Override