From 931afbdae244e47fb40c754870bc64c10bac802b Mon Sep 17 00:00:00 2001 From: Hyobeen-Park Date: Fri, 19 Jul 2024 19:57:00 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[FIX/#154]=20=ED=95=84=ED=84=B0=EB=A7=81=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=20=EB=B0=9B=EC=95=84=EC=98=A4=EA=B8=B0=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/terning/feature/home/home/HomeRoute.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/feature/src/main/java/com/terning/feature/home/home/HomeRoute.kt b/feature/src/main/java/com/terning/feature/home/home/HomeRoute.kt index 6855c763d..8e45744b0 100644 --- a/feature/src/main/java/com/terning/feature/home/home/HomeRoute.kt +++ b/feature/src/main/java/com/terning/feature/home/home/HomeRoute.kt @@ -126,6 +126,10 @@ fun HomeRoute( viewModel.getHomeTodayInternList() } + LaunchedEffect(key1 = true) { + viewModel.getFilteringInfo() + } + when (homeTodayState) { is UiState.Success -> { homeTodayInternList.value = From d25cd934b2b3f8f5005399661416e32b817e25de Mon Sep 17 00:00:00 2001 From: Hyobeen-Park Date: Fri, 19 Jul 2024 20:41:21 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[FIX/#154]=20=EB=8B=A4=EC=9D=B4=EC=96=BC?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=ED=81=AC=EA=B8=B0=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/home/component/HomeRecommendInternDialog.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/feature/src/main/java/com/terning/feature/home/home/component/HomeRecommendInternDialog.kt b/feature/src/main/java/com/terning/feature/home/home/component/HomeRecommendInternDialog.kt index ea470431d..6560b0bc9 100644 --- a/feature/src/main/java/com/terning/feature/home/home/component/HomeRecommendInternDialog.kt +++ b/feature/src/main/java/com/terning/feature/home/home/component/HomeRecommendInternDialog.kt @@ -12,6 +12,7 @@ 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.wrapContentSize import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.Icon @@ -81,13 +82,13 @@ fun HomeRecommendInternDialog( Box( modifier = Modifier - .fillMaxSize() + .wrapContentSize() .padding(top = 32.dp), contentAlignment = Alignment.TopCenter ) { Column( modifier = Modifier - .fillMaxSize() + .wrapContentSize() .padding(horizontal = 11.dp), horizontalAlignment = Alignment.CenterHorizontally ) { @@ -220,7 +221,6 @@ fun HomeRecommendInternDialog( } } } - Spacer(modifier = Modifier.weight(1f)) Box( modifier = Modifier.fillMaxWidth(), contentAlignment = Alignment.BottomCenter