File tree Expand file tree Collapse file tree
app/src/main/java/com/threegap/bitnagil Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import com.threegap.bitnagil.presentation.login.LoginScreenContainer
1212import com.threegap.bitnagil.presentation.onboarding.OnBoardingScreenContainer
1313import com.threegap.bitnagil.presentation.onboarding.OnBoardingViewModel
1414import com.threegap.bitnagil.presentation.onboarding.model.navarg.OnBoardingScreenArg
15+ import com.threegap.bitnagil.presentation.routinelist.RoutineListScreenContainer
1516import com.threegap.bitnagil.presentation.setting.SettingScreenContainer
1617import com.threegap.bitnagil.presentation.splash.SplashScreenContainer
1718import com.threegap.bitnagil.presentation.terms.TermsAgreementScreenContainer
@@ -223,5 +224,15 @@ fun MainNavHost(
223224 },
224225 )
225226 }
227+
228+ composable<Route .RoutineList > {
229+ RoutineListScreenContainer (
230+ navigateToBack = {
231+ if (navigator.navController.previousBackStackEntry != null ) {
232+ navigator.navController.popBackStack()
233+ }
234+ },
235+ )
236+ }
226237 }
227238}
Original file line number Diff line number Diff line change @@ -38,4 +38,7 @@ sealed interface Route {
3838
3939 @Serializable
4040 data object Emotion : Route
41+
42+ @Serializable
43+ data object RoutineList : Route
4144}
You can’t perform that action at this time.
0 commit comments