Fix 1 minute radio item string
This commit is contained in:
parent
788ef6f01f
commit
c55e784081
|
@ -306,9 +306,10 @@ class MainActivity : SimpleActivity() {
|
||||||
}
|
}
|
||||||
val minutes = getString(R.string.minutes_raw)
|
val minutes = getString(R.string.minutes_raw)
|
||||||
val hour = resources.getQuantityString(R.plurals.hours, 1, 1)
|
val hour = resources.getQuantityString(R.plurals.hours, 1, 1)
|
||||||
|
val minute = resources.getQuantityString(R.plurals.minutes, 1, 1)
|
||||||
|
|
||||||
val items = arrayListOf(
|
val items = arrayListOf(
|
||||||
RadioItem(1 * 60, "1 $minutes"),
|
RadioItem(1 * 60, "1 $minute"),
|
||||||
RadioItem(2 * 60, "2 $minutes"),
|
RadioItem(2 * 60, "2 $minutes"),
|
||||||
RadioItem(5 * 60, "5 $minutes"),
|
RadioItem(5 * 60, "5 $minutes"),
|
||||||
RadioItem(10 * 60, "10 $minutes"),
|
RadioItem(10 * 60, "10 $minutes"),
|
||||||
|
|
Loading…
Reference in New Issue