File tree Expand file tree Collapse file tree
presentation/src/main/java/com/threegap/bitnagil/presentation/home Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,6 +103,31 @@ class HomeViewModel @Inject constructor(
103103 }
104104 }
105105
106+ fun navigateToGuide () {
107+ intent {
108+ postSideEffect(HomeSideEffect .NavigateToGuide )
109+ }
110+ }
111+
112+ fun navigateToEmotion () {
113+ intent {
114+ postSideEffect(HomeSideEffect .NavigateToEmotion )
115+ }
116+ }
117+
118+ fun navigateToRegisterRoutine () {
119+ intent {
120+ postSideEffect(HomeSideEffect .NavigateToRegisterRoutine )
121+ }
122+ }
123+
124+ fun navigateToRoutineList () {
125+ intent {
126+ val selectedDate = state.selectedDate.toString()
127+ postSideEffect(HomeSideEffect .NavigateToRoutineList (selectedDate))
128+ }
129+ }
130+
106131 private fun observeWriteRoutineEvent () {
107132 viewModelScope.launch {
108133 getWriteRoutineEventFlowUseCase().collect {
You can’t perform that action at this time.
0 commit comments