Never mark AT_MOST habits as completed for today
This commit is contained in:
parent
37219cb13f
commit
303020a8c0
@ -61,7 +61,7 @@ data class Habit(
|
||||
return if (isNumerical) {
|
||||
when (targetType) {
|
||||
NumericalHabitType.AT_LEAST -> value / 1000.0 >= targetValue
|
||||
NumericalHabitType.AT_MOST -> value != Entry.UNKNOWN && value / 1000.0 <= targetValue
|
||||
NumericalHabitType.AT_MOST -> false
|
||||
}
|
||||
} else {
|
||||
value != Entry.NO && value != Entry.UNKNOWN
|
||||
|
||||
Loading…
Reference in New Issue
Block a user