From eb1f735e461ee24cd3462f45a23b7bc245e42ca9 Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Fri, 19 Jul 2024 21:06:32 +0900 Subject: [PATCH] =?UTF-8?q?[FIX/#152]=20=EB=8D=B0=EC=9D=B4=ED=8A=B8?= =?UTF-8?q?=ED=94=BC=EC=BB=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designsystem/component/datepicker/DatePicker.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/com/terning/core/designsystem/component/datepicker/DatePicker.kt b/core/src/main/java/com/terning/core/designsystem/component/datepicker/DatePicker.kt index 511d2f3df..c0c133587 100644 --- a/core/src/main/java/com/terning/core/designsystem/component/datepicker/DatePicker.kt +++ b/core/src/main/java/com/terning/core/designsystem/component/datepicker/DatePicker.kt @@ -8,7 +8,6 @@ import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height -import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.foundation.layout.width import androidx.compose.foundation.lazy.LazyColumn @@ -94,7 +93,7 @@ fun DateItemsPicker( firstIndex: Int, onItemSelected: (String) -> Unit, modifier: Modifier = Modifier, - isYear: Boolean, + isYear: Boolean ) { val listState = rememberLazyListState(firstIndex) val currentValue = remember { mutableStateOf("") } @@ -134,6 +133,7 @@ fun DateItemsPicker( if (it == firstVisibleItemIndex + 1) { currentValue.value = items[index] } + Spacer(modifier = Modifier.height(7.dp)) Text( text = when (isYear) { @@ -142,10 +142,10 @@ fun DateItemsPicker( }, style = TerningTheme.typography.title3, color = if (it == firstVisibleItemIndex + 1) Grey500 else Grey300, - textAlign = TextAlign.Center, - modifier = modifier.padding(vertical = 8.dp) + textAlign = TextAlign.Center ) + Spacer(modifier = Modifier.height(7.dp)) } } } -} +} \ No newline at end of file