show proper app label

This commit is contained in:
tibbi 2022-09-19 19:02:02 +02:00
parent a72cf6e7e2
commit cf7906b8fe

View File

@ -23,7 +23,7 @@ fun Context.getAllLaunchers(): ArrayList<AppLauncher> {
val list = packageManager.queryIntentActivities(intent, PackageManager.PERMISSION_GRANTED)
for (info in list) {
val componentInfo = info.activityInfo.applicationInfo
val label = componentInfo.loadLabel(packageManager).toString()
val label = info.loadLabel(packageManager).toString()
val packageName = componentInfo.packageName
var drawable: Drawable? = null