Mehdi Haghgoo
04/02/2023, 8:18 PMval drawable = packageManager.getApplicationIcon(app.packageName)
Icon(
drawable.toBitmap(config = Bitmap.Config.ARGB_8888).asImageBitmap()
, contentDescription = "Icon", modifier = Modifier
.padding(8.dp),
tint = MaterialTheme.colorScheme.secondary
)
This gives a round filled circle and no icon for most apps. why?Mehdi Haghgoo
04/02/2023, 8:47 PM