Fix 1 minute radio item string

This commit is contained in:
Ensar Sarajčić 2023-09-06 10:35:34 +02:00
parent 788ef6f01f
commit c55e784081
1 changed files with 2 additions and 1 deletions

View File

@ -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"),