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
No known key found for this signature in database
GPG key ID: 24EE6FEC019F6853

View file

@ -106,7 +106,7 @@ fun ComposerAlertMolecule(
ComposerAlertLevel.Critical -> ElementTheme.colors.iconCriticalPrimary
}
Icon(
painter = rememberVectorPainter(icon),
imageVector = icon,
tint = iconTint,
contentDescription = null,
)