Skip to content

Commit fe15594

Browse files
committed
Fix small regression on Preview.
1 parent 581ea40 commit fe15594

File tree

1 file changed

+2
-2
lines changed
  • libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/theme/components

1 file changed

+2
-2
lines changed

libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/theme/components/IconToggleButton.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal fun IconToggleButtonPreview() = ElementThemedPreview(vertical = false)
5454
Row(horizontalArrangement = Arrangement.spacedBy(6.dp)) {
5555
val icon: @Composable () -> Unit = {
5656
Icon(
57-
imageVector = if (checked) CompoundIcons.CheckCircle() else CompoundIcons.Circle(),
57+
imageVector = if (checked) CompoundIcons.CheckCircleSolid() else CompoundIcons.Circle(),
5858
contentDescription = null
5959
)
6060
}
@@ -64,7 +64,7 @@ internal fun IconToggleButtonPreview() = ElementThemedPreview(vertical = false)
6464
Row(horizontalArrangement = Arrangement.spacedBy(6.dp)) {
6565
val icon: @Composable () -> Unit = {
6666
Icon(
67-
imageVector = if (!checked) CompoundIcons.CheckCircle() else CompoundIcons.Circle(),
67+
imageVector = if (!checked) CompoundIcons.CheckCircleSolid() else CompoundIcons.Circle(),
6868
contentDescription = null
6969
)
7070
}

0 commit comments

Comments
 (0)