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