Skip to content

Commit 005e5d4

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

presentation/src/main/java/com/threegap/bitnagil/presentation/routinelist/RoutineListViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class RoutineListViewModel @Inject constructor(
113113

114114
private fun fetchRoutines() {
115115
sendIntent(RoutineListIntent.UpdateLoading(true))
116-
val currentWeek = container.stateFlow.value.selectedDate.getCurrentWeekDays()
116+
val currentWeek = stateFlow.value.selectedDate.getCurrentWeekDays()
117117
val startDate = currentWeek.first().toString()
118118
val endDate = currentWeek.last().toString()
119119
viewModelScope.launch {

0 commit comments

Comments
 (0)