fix: remove duplicate comparison in StreakCalculator (batch v1.0.14)

This commit is contained in:
null 2026-06-19 23:53:50 -05:00
parent 195dfb5a0a
commit 521989ec44
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ object StreakCalculator {
val sorted = userDays.toSortedSet().toList()
val latest = sorted.last()
val includesToday = latest == today || latest == today
val includesToday = latest == today
// If the latest personal day is older than yesterday, the streak is broken.
if (latest.isBefore(today.minusDays(1))) {