Fix small regression on Preview.
This commit is contained in:
parent
e95bf70ce4
commit
101e453569
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue