From a92d58a478779c7641a6aebb598ad4c33a6d5d79 Mon Sep 17 00:00:00 2001 From: JI HUN LEE <51016231+easyhooon@users.noreply.github.com> Date: Thu, 15 Feb 2024 13:44:17 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT]=20[#5]=20=EB=A7=88=EC=9D=B4=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=ED=99=94=EB=A9=B4=EC=97=90=20=EC=A7=84?= =?UTF-8?q?=EC=9E=85=ED=96=88=EC=9D=84=20=EB=95=8C=20=EB=84=A4=EB=B9=84?= =?UTF-8?q?=EA=B2=8C=EC=9D=B4=EC=85=98=EB=B0=94=EA=B0=80=20=EB=B3=B4?= =?UTF-8?q?=EC=9D=B4=EB=8F=84=EB=A1=9D=20shoulShowBottomBar=20=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/nexters/ilab/android/feature/main/MainNavController.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feature/main/src/main/kotlin/com/nexters/ilab/android/feature/main/MainNavController.kt b/feature/main/src/main/kotlin/com/nexters/ilab/android/feature/main/MainNavController.kt index 818d32ba..aab08227 100644 --- a/feature/main/src/main/kotlin/com/nexters/ilab/android/feature/main/MainNavController.kt +++ b/feature/main/src/main/kotlin/com/nexters/ilab/android/feature/main/MainNavController.kt @@ -13,6 +13,7 @@ import com.nexters.ilab.android.feature.uploadphoto.navigation.navigateToUploadP import com.nexters.ilab.android.feature.uploadphoto.navigation.navigateToUploadCheck import com.nexters.ilab.android.feature.home.navigation.HOME_ROUTE import com.nexters.ilab.android.feature.home.navigation.navigateToHome +import com.nexters.ilab.android.feature.mypage.navigation.MY_PROFILE_ROUTE import com.nexters.ilab.android.feature.mypage.navigation.navigateToMyPage import com.nexters.ilab.android.feature.setting.navigation.navigateToSetting import com.nexters.ilab.android.feature.uploadphoto.navigation.navigateToInputStyle @@ -98,7 +99,7 @@ internal class MainNavController( @Composable fun shouldShowBottomBar(): Boolean { val currentRoute = currentDestination?.route ?: return false - return currentRoute in MainTab + return currentRoute in MainTab || currentRoute == MY_PROFILE_ROUTE } }