fix: Use Icon(imageVector = icon) over rememberVectorPainter(icon)

This commit is contained in:
Skye Elliot
2025-11-07 15:18:08 +00:00
parent b163959241
commit 7595a0be35
@@ -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,
) )