fix: Use Icon(imageVector = icon) over rememberVectorPainter(icon)
This commit is contained in:
parent
ef56d15ef4
commit
ec3103b788
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ fun ComposerAlertMolecule(
|
||||||
ComposerAlertLevel.Critical -> ElementTheme.colors.iconCriticalPrimary
|
ComposerAlertLevel.Critical -> ElementTheme.colors.iconCriticalPrimary
|
||||||
}
|
}
|
||||||
Icon(
|
Icon(
|
||||||
painter = rememberVectorPainter(icon),
|
imageVector = icon,
|
||||||
tint = iconTint,
|
tint = iconTint,
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue