mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +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
|
ComposerAlertLevel.Critical -> ElementTheme.colors.iconCriticalPrimary
|
||||||
}
|
}
|
||||||
Icon(
|
Icon(
|
||||||
painter = rememberVectorPainter(icon),
|
imageVector = icon,
|
||||||
tint = iconTint,
|
tint = iconTint,
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user