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
@@ -241,5 +242,15 @@ fun MainNavHost(
241242 },
242243 )
243244 }
245+
246+ composable<Route .RoutineList > {
247+ RoutineListScreenContainer (
248+ navigateToBack = {
249+ if (navigator.navController.previousBackStackEntry != null ) {
250+ navigator.navController.popBackStack()
251+ }
252+ },
253+ )
254+ }
244255 }
245256}
Original file line number Diff line number Diff line change @@ -41,4 +41,7 @@ sealed interface Route {
4141
4242 @Serializable
4343 data object Withdrawal : Route
44+
45+ @Serializable
46+ data object RoutineList : Route
4447}
You can’t perform that action at this time.
0 commit comments