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) },