From 98b5f16d6ca0c6272084bbd1d7b323dcbd9057f6 Mon Sep 17 00:00:00 2001 From: "seongmin.kim" Date: Thu, 18 Sep 2025 22:13:50 +0900 Subject: [PATCH 1/3] =?UTF-8?q?mod:=20=EC=9E=A5=EC=86=8C=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20=ED=99=94=EB=A9=B4=20=EB=8C=80=ED=91=9C=EB=A9=94?= =?UTF-8?q?=EB=89=B4=20=EA=B0=80=EA=B2=A9=20=ED=8C=A8=EB=94=A9=20=ED=86=B5?= =?UTF-8?q?=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spotdetail/composable/SignatureMenu.kt | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/SignatureMenu.kt b/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/SignatureMenu.kt index baaae94ab..fd933e7b4 100644 --- a/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/SignatureMenu.kt +++ b/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/SignatureMenu.kt @@ -6,8 +6,8 @@ import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.width -import androidx.compose.foundation.layout.widthIn import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment @@ -23,7 +23,7 @@ import com.acon.acon.feature.spot.toPriceString @Composable internal fun SignatureMenu( - signatureMenuList: List + signatureMenuList: List ) { Column( verticalArrangement = Arrangement.spacedBy(4.dp) @@ -43,16 +43,22 @@ internal fun SignatureMenuItem( menuPrice: String ) { Row( - verticalAlignment = Alignment.CenterVertically + verticalAlignment = Alignment.CenterVertically, ) { - Text( - text = menuName, - color = AconTheme.color.White, - style = AconTheme.typography.Body1, - maxLines = 1, - overflow = TextOverflow.Ellipsis, - modifier = Modifier.widthIn(min = 100.dp, max = 160.dp) - ) + Box( + modifier = Modifier.width(160.dp) + ) { + Text( + text = menuName, + color = AconTheme.color.White, + style = AconTheme.typography.Body1, + maxLines = 1, + overflow = TextOverflow.Ellipsis, + modifier = Modifier + .fillMaxWidth() + .align(Alignment.CenterStart) + ) + } Spacer(Modifier.width(8.dp)) Text( From 42b4943fd92b1fb975d2d34a86e45a06b0899a1f Mon Sep 17 00:00:00 2001 From: "seongmin.kim" Date: Thu, 18 Sep 2025 22:25:25 +0900 Subject: [PATCH 2/3] =?UTF-8?q?mod:=20=EC=9E=A5=EC=86=8C=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20=ED=99=94=EB=A9=B4=20=EA=B0=80=EA=B2=8C=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=EA=B0=80=20=EC=97=86=EC=9D=84=20=EC=8B=9C,?= =?UTF-8?q?=20=EB=AC=B8=EA=B5=AC=EA=B0=80=20=EB=B0=94=EB=80=8C=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spot/screen/spotdetail/composable/SpotDetailScreen.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/SpotDetailScreen.kt b/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/SpotDetailScreen.kt index 0c883bb89..c578b5bad 100644 --- a/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/SpotDetailScreen.kt +++ b/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/SpotDetailScreen.kt @@ -26,6 +26,7 @@ import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.Text import androidx.compose.runtime.Composable +import androidx.compose.runtime.remember import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Brush @@ -122,6 +123,8 @@ internal fun SpotDetailScreen( } is SpotDetailUiState.Success -> { + val rememberedNoStoreText = remember { noStoreText.random() } + BackHandler { if (state.isAreaVerified) { deepLinkHandler.clear() @@ -232,7 +235,7 @@ internal fun SpotDetailScreen( Spacer(Modifier.height(12.dp)) Text( - text = noStoreText.random(), + text = rememberedNoStoreText, color = AconTheme.color.Gray200, style = AconTheme.typography.Body1, fontWeight = FontWeight.SemiBold, From 7e21dc0e830fa34444c307d29d5ad9f42cf2b33d Mon Sep 17 00:00:00 2001 From: "seongmin.kim" Date: Thu, 18 Sep 2025 22:52:51 +0900 Subject: [PATCH 3/3] =?UTF-8?q?mod:=20=EC=9E=A5=EC=86=8C=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20=ED=99=94=EB=A9=B4=20=EA=B3=B5=EC=9C=A0=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EC=A4=91=EB=B3=B5=20=ED=81=B4=EB=A6=AD=20=EC=A3=BC?= =?UTF-8?q?=EA=B8=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spot/screen/spotdetail/composable/StoreFloatingButtonSet.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/StoreFloatingButtonSet.kt b/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/StoreFloatingButtonSet.kt index df0949943..8901628e6 100644 --- a/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/StoreFloatingButtonSet.kt +++ b/feature/spot/src/main/java/com/acon/acon/feature/spot/screen/spotdetail/composable/StoreFloatingButtonSet.kt @@ -115,7 +115,7 @@ private fun StoreDetailButton( ) { var isLongPressed by remember { mutableStateOf(false) } var lastClickTime by remember { mutableLongStateOf(0L) } - val throttleTime = 1000L + val throttleTime = 3000L val density = LocalDensity.current val blurPx = with(density) { 4.dp.toPx() }