sort the items at sleep timer picker in an ascending order
This commit is contained in:
parent
5b66b7fa16
commit
05f0faefb8
1 changed files with 1 additions and 0 deletions
|
@ -360,6 +360,7 @@ class MainActivity : SimpleActivity(), SongListListener {
|
|||
items.add(RadioItem(config.lastSleepTimerSeconds, text))
|
||||
}
|
||||
|
||||
items.sortBy { it.id }
|
||||
items.add(RadioItem(-1, getString(R.string.custom)))
|
||||
|
||||
RadioGroupDialog(this, items, config.lastSleepTimerSeconds) {
|
||||
|
|
Loading…
Reference in a new issue