Commit 178fa33f authored by Stefan Zabka's avatar Stefan Zabka

Merge branch 'sort-apps' into 'master'

Sort app list alphabetically

Closes #19

See merge request !26
parents ed9053bc 8e98f1d5
Pipeline #3389 passed with stage
in 4 minutes and 4 seconds
......@@ -43,6 +43,6 @@ class AppListAdapter(val clickListener: (App) -> Unit) : RecyclerView.Adapter<Ap
}
fun update(items: List<App>) {
data = items
data = items.sortedWith(compareBy { it.name.toLowerCase() })
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment