Commit 8e98f1d5 authored by Anon's avatar Anon

AppListAdapter: Sort app list alphabetically.

parent ed9053bc
......@@ -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