Make res.getQuantityString replace placeholder with value
This commit is contained in:
parent
928c438268
commit
3148b8835b
|
@ -428,7 +428,7 @@ public class PreferenceController {
|
||||||
entries[x] = res.getString(R.string.pref_smart_mark_as_played_disabled);
|
entries[x] = res.getString(R.string.pref_smart_mark_as_played_disabled);
|
||||||
} else {
|
} else {
|
||||||
Integer v = Integer.parseInt(values[x]);
|
Integer v = Integer.parseInt(values[x]);
|
||||||
entries[x] = res.getQuantityString(R.plurals.time_seconds_quantified, v);
|
entries[x] = res.getQuantityString(R.plurals.time_seconds_quantified, v, v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pref.setEntries(entries);
|
pref.setEntries(entries);
|
||||||
|
|
Loading…
Reference in New Issue