Merge pull request from ByteHamster/fewer-speeds

Fewer default speed values
This commit is contained in:
ByteHamster 2021-10-14 20:45:10 +02:00 committed by GitHub
commit af2cda5cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
app/src/androidTest/java/de/test/antennapod/ui
core/src/main/java/de/danoeh/antennapod/core/preferences

@ -244,8 +244,8 @@ public class PreferencesTest {
public void testPlaybackSpeeds() {
clickPreference(R.string.playback_pref);
clickPreference(R.string.playback_speed);
onView(isRoot()).perform(waitForView(withText("0.75"), 1000));
onView(withText("0.75")).check(matches(isDisplayed()));
onView(isRoot()).perform(waitForView(withText("1.25"), 1000));
onView(withText("1.25")).check(matches(isDisplayed()));
}
@Test

@ -812,7 +812,7 @@ public class UserPreferences {
}
}
// If this preference hasn't been set yet, return the default options
return Arrays.asList(0.75f, 1.0f, 1.25f, 1.5f, 1.75f, 2.0f);
return Arrays.asList(1.0f, 1.25f, 1.5f);
}
public static String getMediaPlayer() {