Update app/src/main/java/org/schabi/newpipe/settings/VideoAudioSettingsFragment.java

Co-Authored-By: Stypox <stypox@pm.me>
This commit is contained in:
XiangRongLin 2020-03-03 21:41:15 +01:00 committed by GitHub
parent efb67b0fd4
commit f7ef7a18ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,8 +72,9 @@ public class VideoAudioSettingsFragment extends BasePreferenceFragment {
if (inexactSeek && currentDurationValue % 10 == 5) { if (inexactSeek && currentDurationValue % 10 == 5) {
continue; continue;
} }
try {
displayedDurationValues.add(durationsValue); displayedDurationValues.add(durationsValue);
try {
displayedDescriptionValues.add(String.format( displayedDescriptionValues.add(String.format(
res.getQuantityString(R.plurals.dynamic_seek_duration_description, res.getQuantityString(R.plurals.dynamic_seek_duration_description,
currentDurationValue), currentDurationValue),