mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-06-05 21:49:21 +02:00
sort the apps by name
This commit is contained in:
@ -32,6 +32,7 @@ class MainActivity : SimpleActivity() {
|
||||
apps.add(AppLauncher(componentInfo.loadLabel(pm).toString(), componentInfo.loadIcon(pm)))
|
||||
}
|
||||
|
||||
apps.sortBy { it.name }
|
||||
launchers_holder.adapter = LaunchersAdapter(apps)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user