mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 20:01:55 +00:00
Fix small regression on Preview.
This commit is contained in:
+2
-2
@@ -54,7 +54,7 @@ internal fun IconToggleButtonPreview() = ElementThemedPreview(vertical = false)
|
|||||||
Row(horizontalArrangement = Arrangement.spacedBy(6.dp)) {
|
Row(horizontalArrangement = Arrangement.spacedBy(6.dp)) {
|
||||||
val icon: @Composable () -> Unit = {
|
val icon: @Composable () -> Unit = {
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = if (checked) CompoundIcons.CheckCircle() else CompoundIcons.Circle(),
|
imageVector = if (checked) CompoundIcons.CheckCircleSolid() else CompoundIcons.Circle(),
|
||||||
contentDescription = null
|
contentDescription = null
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -64,7 +64,7 @@ internal fun IconToggleButtonPreview() = ElementThemedPreview(vertical = false)
|
|||||||
Row(horizontalArrangement = Arrangement.spacedBy(6.dp)) {
|
Row(horizontalArrangement = Arrangement.spacedBy(6.dp)) {
|
||||||
val icon: @Composable () -> Unit = {
|
val icon: @Composable () -> Unit = {
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = if (!checked) CompoundIcons.CheckCircle() else CompoundIcons.Circle(),
|
imageVector = if (!checked) CompoundIcons.CheckCircleSolid() else CompoundIcons.Circle(),
|
||||||
contentDescription = null
|
contentDescription = null
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user