From 29f4d5b332dcc5862750b57ec9dd143a4a4868f7 Mon Sep 17 00:00:00 2001 From: jiwon2724 Date: Sat, 7 Dec 2024 15:08:12 +0900 Subject: [PATCH] =?UTF-8?q?[chore]=20=EC=BD=94=EB=94=A9=20=EC=BB=A8?= =?UTF-8?q?=EB=B2=A4=EC=85=98=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pokit/core/ui/components/atom/input/PokitInput.kt | 4 ++-- .../atom/input/subcomponents/icon/PokitInputIcon.kt | 3 +-- .../core/ui/components/block/labeledinput/LabeledInput.kt | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/core/ui/src/main/java/pokitmons/pokit/core/ui/components/atom/input/PokitInput.kt b/core/ui/src/main/java/pokitmons/pokit/core/ui/components/atom/input/PokitInput.kt index eae619f..cd424d5 100644 --- a/core/ui/src/main/java/pokitmons/pokit/core/ui/components/atom/input/PokitInput.kt +++ b/core/ui/src/main/java/pokitmons/pokit/core/ui/components/atom/input/PokitInput.kt @@ -85,7 +85,7 @@ fun PokitInput( state = state, resourceId = icon.resourceId, onClick = onClickIcon, - applyInputDesignSystem = applyInputDesignSystem, + applyInputDesignSystem = applyInputDesignSystem ) Box(modifier = Modifier.width(8.dp)) } @@ -103,7 +103,7 @@ fun PokitInput( state = state, resourceId = icon.resourceId, onClick = onClickIcon, - applyInputDesignSystem = applyInputDesignSystem, + applyInputDesignSystem = applyInputDesignSystem ) } } diff --git a/core/ui/src/main/java/pokitmons/pokit/core/ui/components/atom/input/subcomponents/icon/PokitInputIcon.kt b/core/ui/src/main/java/pokitmons/pokit/core/ui/components/atom/input/subcomponents/icon/PokitInputIcon.kt index f8b2afe..6779ff0 100644 --- a/core/ui/src/main/java/pokitmons/pokit/core/ui/components/atom/input/subcomponents/icon/PokitInputIcon.kt +++ b/core/ui/src/main/java/pokitmons/pokit/core/ui/components/atom/input/subcomponents/icon/PokitInputIcon.kt @@ -4,7 +4,6 @@ import androidx.compose.foundation.clickable import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.size import androidx.compose.material3.Icon -import androidx.compose.material3.LocalContentColor import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.Modifier @@ -45,7 +44,7 @@ internal fun PokitInputIcon( @Composable private fun getColor( state: PokitInputState, - applyInputDesignSystem: Boolean = true + applyInputDesignSystem: Boolean = true, ): Color { return when (state) { PokitInputState.DEFAULT -> PokitTheme.colors.iconSecondary diff --git a/core/ui/src/main/java/pokitmons/pokit/core/ui/components/block/labeledinput/LabeledInput.kt b/core/ui/src/main/java/pokitmons/pokit/core/ui/components/block/labeledinput/LabeledInput.kt index d80a17b..22085a0 100644 --- a/core/ui/src/main/java/pokitmons/pokit/core/ui/components/block/labeledinput/LabeledInput.kt +++ b/core/ui/src/main/java/pokitmons/pokit/core/ui/components/block/labeledinput/LabeledInput.kt @@ -76,7 +76,7 @@ fun LabeledInput( icon = if (inputText.isNotEmpty()) { PokitInputIcon( position = PokitInputIconPosition.RIGHT, - resourceId = R.drawable.icon_24_xs, + resourceId = R.drawable.icon_24_xs ) } else { null @@ -88,7 +88,7 @@ fun LabeledInput( }, isError = isError, enable = enable, - readOnly = readOnly, + readOnly = readOnly ) Spacer(modifier = Modifier.height(4.dp))