Skip to content

Commit 2034630

Browse files
committed
Chore: stateFlow 참조 변경
1 parent 005e5d4 commit 2034630

File tree

1 file changed

+2
-2
lines changed
  • presentation/src/main/java/com/threegap/bitnagil/presentation/home

1 file changed

+2
-2
lines changed

presentation/src/main/java/com/threegap/bitnagil/presentation/home/HomeViewModel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class HomeViewModel @Inject constructor(
5656
observeRecommendRoutineEvent()
5757
observeWeekChanges()
5858
observeRoutineUpdates()
59-
fetchWeeklyRoutines(container.stateFlow.value.currentWeeks)
59+
fetchWeeklyRoutines(stateFlow.value.currentWeeks)
6060
fetchUserProfile()
6161
fetchTodayEmotion(LocalDate.now())
6262
}
@@ -121,7 +121,7 @@ class HomeViewModel @Inject constructor(
121121
}
122122

123123
is HomeIntent.OnShowMoreRoutinesClick -> {
124-
val selectedDate = container.stateFlow.value.selectedDate.toString()
124+
val selectedDate = stateFlow.value.selectedDate.toString()
125125
sendSideEffect(HomeSideEffect.NavigateToRoutineList(selectedDate))
126126
null
127127
}

0 commit comments

Comments
 (0)