diff options
author | Vinod Patil <61724808+vinodpatildev@users.noreply.github.com> | 2023-11-01 19:09:10 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 14:39:10 +0100 |
commit | 691ed73910734be0bb854dc2d07ba9c0f90bca87 (patch) | |
tree | 8100078797be217235a90c28776c5e30a1b726f8 /app/src | |
parent | 01f1927770b65bb9052fedd40068770c8abf15b1 (diff) | |
download | AntennaPod-691ed73910734be0bb854dc2d07ba9c0f90bca87.zip |
Fix adding new playback speed preset when service is not running (#6734)
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/VariableSpeedDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/VariableSpeedDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/VariableSpeedDialog.java index 987206743..0367e717b 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/VariableSpeedDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/VariableSpeedDialog.java @@ -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(); |