diff --git a/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/chips/SuwikiColorChip.kt b/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/chips/SuwikiColorChip.kt index a23a3cff0..5f6d9f7c4 100644 --- a/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/chips/SuwikiColorChip.kt +++ b/core/designsystem/src/main/java/com/suwiki/core/designsystem/component/chips/SuwikiColorChip.kt @@ -24,11 +24,7 @@ fun SuwikiColorChip( modifier = Modifier.size(40.dp), ) { Image( - painter = if (isChecked) { - painterResource(id = R.drawable.ic_color_checked_chip) - } else { - painterResource(id = R.drawable.ic_color_chip) - }, + painter = painterResource(id = if (isChecked) R.drawable.ic_color_checked_chip else R.drawable.ic_color_chip), contentDescription = "", modifier = Modifier.clickable(onClick = onClick), )