We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005e5d4 commit 2034630Copy full SHA for 2034630
1 file changed
presentation/src/main/java/com/threegap/bitnagil/presentation/home/HomeViewModel.kt
@@ -56,7 +56,7 @@ class HomeViewModel @Inject constructor(
56
observeRecommendRoutineEvent()
57
observeWeekChanges()
58
observeRoutineUpdates()
59
- fetchWeeklyRoutines(container.stateFlow.value.currentWeeks)
+ fetchWeeklyRoutines(stateFlow.value.currentWeeks)
60
fetchUserProfile()
61
fetchTodayEmotion(LocalDate.now())
62
}
@@ -121,7 +121,7 @@ class HomeViewModel @Inject constructor(
121
122
123
is HomeIntent.OnShowMoreRoutinesClick -> {
124
- val selectedDate = container.stateFlow.value.selectedDate.toString()
+ val selectedDate = stateFlow.value.selectedDate.toString()
125
sendSideEffect(HomeSideEffect.NavigateToRoutineList(selectedDate))
126
null
127
0 commit comments