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

This commit is contained in:
Skye Elliot 2025-11-07 15:18:08 +00:00
parent ef56d15ef4
commit ec3103b788

View file

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