From 124f76bfc93cbf20bb97f483196a2ea4413ecd1a Mon Sep 17 00:00:00 2001 From: jeongjaino Date: Fri, 5 Jan 2024 17:27:47 +0900 Subject: [PATCH] =?UTF-8?q?[FEATURE]=20#81=20:=20=EC=84=A4=EB=AC=B8=20->?= =?UTF-8?q?=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=ED=99=94=EB=A9=B4=20=EC=A0=84?= =?UTF-8?q?=ED=99=98=20=EB=A1=9C=EC=A7=81=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/wap/wapp/navigation/WappNavHost.kt | 1 + .../com/wap/wapp/feature/survey/navigation/SurveyNavigation.kt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/src/main/java/com/wap/wapp/navigation/WappNavHost.kt b/app/src/main/java/com/wap/wapp/navigation/WappNavHost.kt index 22f7ef35..a012a1f9 100644 --- a/app/src/main/java/com/wap/wapp/navigation/WappNavHost.kt +++ b/app/src/main/java/com/wap/wapp/navigation/WappNavHost.kt @@ -70,6 +70,7 @@ fun WappNavHost( surveyNavGraph( navigateToSurvey = navController::navigateToSurvey, navigateToSurveyAnswer = navController::navigateToSurveyAnswer, + navigateToSignIn = navController::navigateToSignIn, ) surveyCheckScreen( navigateToManagement = navController::navigateToManagement, diff --git a/feature/survey/src/main/java/com/wap/wapp/feature/survey/navigation/SurveyNavigation.kt b/feature/survey/src/main/java/com/wap/wapp/feature/survey/navigation/SurveyNavigation.kt index 306778ed..2a9394f4 100644 --- a/feature/survey/src/main/java/com/wap/wapp/feature/survey/navigation/SurveyNavigation.kt +++ b/feature/survey/src/main/java/com/wap/wapp/feature/survey/navigation/SurveyNavigation.kt @@ -22,10 +22,12 @@ fun NavController.navigateToSurveyAnswer(eventId: String, navOptions: NavOptions fun NavGraphBuilder.surveyNavGraph( navigateToSurveyAnswer: (String) -> Unit, navigateToSurvey: () -> Unit, + navigateToSignIn: () -> Unit, ) { composable(route = SurveyRoute.route) { SurveyScreen( viewModel = hiltViewModel(), + navigateToSignIn = navigateToSignIn, navigateToSurveyAnswer = { eventId -> navigateToSurveyAnswer(eventId) },