We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc7a40f commit e615480Copy full SHA for e615480
1 file changed
presentation/src/main/java/com/threegap/bitnagil/presentation/home/HomeViewModel.kt
@@ -245,7 +245,8 @@ class HomeViewModel @Inject constructor(
245
private fun observeEmotionChangeEvent() {
246
viewModelScope.launch {
247
getEmotionChangeEventFlowUseCase().collect {
248
- getMyEmotion(stateFlow.value.selectedDate)
+ val currentDate = LocalDate.now()
249
+ getMyEmotion(currentDate)
250
}
251
252
0 commit comments