Skip to content

Commit

Permalink
chore: add variant
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Jan 31, 2025
1 parent 6f09e95 commit 0f10c35
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ internal class DashboardViewModel(
.distinctUntilChanged()
.distinctUntilChanged { _, new ->
val id = bubbleGoal.value.id
new.any { it.id == id }
val isBubbleGoalCompleted = new.any { it.id == id }
isBubbleGoalCompleted
}

return combine(
Expand Down

0 comments on commit 0f10c35

Please sign in to comment.