Fix adding new playback speed preset when service is not running (#6734)
This commit is contained in:
parent
01f1927770
commit
691ed73910
|
@ -98,7 +98,7 @@ public class VariableSpeedDialog extends BottomSheetDialogFragment {
|
|||
}
|
||||
|
||||
private void addCurrentSpeed() {
|
||||
float newSpeed = controller.getCurrentPlaybackSpeedMultiplier();
|
||||
float newSpeed = speedSeekBar.getCurrentSpeed();
|
||||
if (selectedSpeeds.contains(newSpeed)) {
|
||||
Snackbar.make(addCurrentSpeedChip,
|
||||
getString(R.string.preset_already_exists, newSpeed), Snackbar.LENGTH_LONG).show();
|
||||
|
|
Loading…
Reference in New Issue