Commit 8e98f1d5 authored by Anon's avatar Anon
Browse files

AppListAdapter: Sort app list alphabetically.

parent ed9053bc
...@@ -43,6 +43,6 @@ class AppListAdapter(val clickListener: (App) -> Unit) : RecyclerView.Adapter<Ap ...@@ -43,6 +43,6 @@ class AppListAdapter(val clickListener: (App) -> Unit) : RecyclerView.Adapter<Ap
} }
fun update(items: List<App>) { fun update(items: List<App>) {
data = items data = items.sortedWith(compareBy { it.name.toLowerCase() })
} }
} }
Supports Markdown
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