mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 11:47:35 +00:00
fix: Use Icon(imageVector = icon) over rememberVectorPainter(icon)
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ fun ComposerAlertMolecule(
|
||||
ComposerAlertLevel.Critical -> ElementTheme.colors.iconCriticalPrimary
|
||||
}
|
||||
Icon(
|
||||
painter = rememberVectorPainter(icon),
|
||||
imageVector = icon,
|
||||
tint = iconTint,
|
||||
contentDescription = null,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user