rajesh
09/22/2021, 2:49 PMsindrenm
09/22/2021, 2:56 PMIcon
, then it might be tinted with LocalContentColor.current
, perhaps?rajesh
09/22/2021, 3:54 PM@Composable
fun VerifiedProfileBadge() {
Icon(
modifier = Modifier.size(16.dp),
bitmap = ImageBitmap.imageResource(id = R.drawable.ic_filled_verified_badge),
contentDescription = "verified_profile_badge",
tint = LocalContentColor.current
)
}
Blue is original one, black is composable previewSergey Y.
09/22/2021, 4:08 PMColor. Unspecified
rajesh
09/22/2021, 4:24 PMCedrick Cooke
09/22/2021, 5:10 PMImage
instead of Icon
. By default, Image
is untinted, so you shouldn't need to specify anything extra.sindrenm
09/22/2021, 6:30 PM