Skip to content

Commit

Permalink
refactor: min lifecycle 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-ji-hoon committed Sep 4, 2024
1 parent f648df8 commit d64f731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fun PomodoroFocusRoute(
}
}

pomodoroTimerViewModel.effects.collectWithLifecycle { effect ->
pomodoroTimerViewModel.effects.collectWithLifecycle(minActiveState = Lifecycle.State.CREATED) { effect ->
if (effect is PomodoroTimerEffect.PomodoroFocusEffect) {
when (effect) {
PomodoroTimerEffect.PomodoroFocusEffect.ForceGoRest -> {
Expand Down

0 comments on commit d64f731

Please sign in to comment.