sort groups on the groups picker alphabetically

This commit is contained in:
tibbi
2018-04-14 19:14:04 +02:00
parent 0e7bba9b49
commit 9649afac98
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class SelectGroupsDialog(val activity: SimpleActivity, val selectedGroups: Array
private val dialog: AlertDialog?
init {
groups.forEach {
groups.sortedBy { it.title }.forEach {
addGroupCheckbox(it)
}