Make res.getQuantityString replace placeholder with value
This commit is contained in:
parent
928c438268
commit
5f175c6e1f
|
@ -428,7 +428,7 @@ public class PreferenceController {
|
|||
entries[x] = res.getString(R.string.pref_smart_mark_as_played_disabled);
|
||||
} else {
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue