Skip to content

Commit

Permalink
Hide daily streak increase indicator when streak is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
syt0r committed Sep 5, 2024
1 parent 86fbce4 commit b7ca657
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ fun GeneralDashboardScreenUI(
modifier = Modifier.weight(1f)
)

if (it.currentStreak >= it.longestStreak) {
if (it.currentStreak >= it.longestStreak && it.currentStreak != 0) {
Icon(Icons.AutoMirrored.Filled.TrendingUp, null)
}
}
Expand Down

0 comments on commit b7ca657

Please sign in to comment.