From fe0f9685a1178a950d2bd95f041cb3f1bf0e360f Mon Sep 17 00:00:00 2001 From: wjdrjs00 Date: Thu, 7 Aug 2025 13:59:23 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Refactor:=20HomeNavRoute=EC=97=90=20innerPa?= =?UTF-8?q?dding=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 루틴 추천 화면 기본 간격여백 추가 --- .../com/threegap/bitnagil/navigation/home/HomeNavHost.kt | 6 ++++-- .../presentation/recommendroutine/RecommendRoutineScreen.kt | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/threegap/bitnagil/navigation/home/HomeNavHost.kt b/app/src/main/java/com/threegap/bitnagil/navigation/home/HomeNavHost.kt index 68f4adca..eb71eac6 100644 --- a/app/src/main/java/com/threegap/bitnagil/navigation/home/HomeNavHost.kt +++ b/app/src/main/java/com/threegap/bitnagil/navigation/home/HomeNavHost.kt @@ -5,6 +5,7 @@ import android.app.Activity import androidx.activity.compose.BackHandler import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box +import androidx.compose.foundation.layout.WindowInsets import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.material3.Scaffold @@ -53,11 +54,12 @@ fun HomeNavHost( bottomBar = { HomeBottomNavigationBar(navController = navigator.navController) }, - content = { _ -> + contentWindowInsets = WindowInsets(0.dp, 0.dp, 0.dp, 0.dp), + content = { innerPadding -> NavHost( navController = navigator.navController, startDestination = navigator.startDestination, - modifier = modifier, + modifier = modifier.padding(innerPadding), ) { composable(HomeRoute.Home.route) { HomeScreenContainer( diff --git a/presentation/src/main/java/com/threegap/bitnagil/presentation/recommendroutine/RecommendRoutineScreen.kt b/presentation/src/main/java/com/threegap/bitnagil/presentation/recommendroutine/RecommendRoutineScreen.kt index 9e0571fe..a678e69d 100644 --- a/presentation/src/main/java/com/threegap/bitnagil/presentation/recommendroutine/RecommendRoutineScreen.kt +++ b/presentation/src/main/java/com/threegap/bitnagil/presentation/recommendroutine/RecommendRoutineScreen.kt @@ -173,6 +173,10 @@ private fun RecommendRoutineScreen( onAddRoutineClick = { onRegisterRoutineClick(routine.id.toString()) }, ) } + + item { + Spacer(modifier = Modifier.height(110.dp)) + } } } } From 85b752705ca05b2c9308d6c8f2dbfe2fcc605a09 Mon Sep 17 00:00:00 2001 From: wjdrjs00 Date: Thu, 7 Aug 2025 22:34:17 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Refactor:=20=EC=B6=94=EC=B2=9C=20=EB=A3=A8?= =?UTF-8?q?=ED=8B=B4=20LazyColumn=20=ED=95=98=EB=8B=A8=20=ED=8C=A8?= =?UTF-8?q?=EB=94=A9=20=EC=98=81=EC=97=AD=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../presentation/recommendroutine/RecommendRoutineScreen.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/presentation/src/main/java/com/threegap/bitnagil/presentation/recommendroutine/RecommendRoutineScreen.kt b/presentation/src/main/java/com/threegap/bitnagil/presentation/recommendroutine/RecommendRoutineScreen.kt index a678e69d..9e0571fe 100644 --- a/presentation/src/main/java/com/threegap/bitnagil/presentation/recommendroutine/RecommendRoutineScreen.kt +++ b/presentation/src/main/java/com/threegap/bitnagil/presentation/recommendroutine/RecommendRoutineScreen.kt @@ -173,10 +173,6 @@ private fun RecommendRoutineScreen( onAddRoutineClick = { onRegisterRoutineClick(routine.id.toString()) }, ) } - - item { - Spacer(modifier = Modifier.height(110.dp)) - } } } }