wrap timerselection in route

This commit is contained in:
brreynie 2023-04-23 00:31:21 +02:00
parent 480f085325
commit 08a33d1c9e
3 changed files with 57 additions and 35 deletions

View file

@ -33,7 +33,6 @@ import be.ugent.sel.studeez.screens.session.SessionScreen
import be.ugent.sel.studeez.screens.sign_up.SignUpRoute
import be.ugent.sel.studeez.screens.splash.SplashRoute
import be.ugent.sel.studeez.screens.timer_overview.TimerOverviewRoute
import be.ugent.sel.studeez.screens.timer_selection.TimerSelectionScreen
import be.ugent.sel.studeez.ui.theme.StudeezTheme
import kotlinx.coroutines.CoroutineScope
@ -140,6 +139,6 @@ fun NavGraphBuilder.studeezGraph(appState: StudeezAppstate) {
}
composable(StudeezDestinations.TIMER_SELECTION_SCREEN) {
TimerSelectionScreen(open, openAndPopUp)
TimerOverviewRoute(open, openAndPopUp, viewModel = hiltViewModel())
}
}