fix bug in history card
This commit is contained in:
parent
113a5028af
commit
fe1d5c66cb
@ -116,7 +116,7 @@ class HistoryCardPresenter(
|
||||
} else {
|
||||
entries.map {
|
||||
when {
|
||||
max(0, it.value) < 2 * habit.targetValue -> HistoryChart.Square.ON
|
||||
max(0.0, it.value / 1000.0) < 2 * habit.targetValue -> HistoryChart.Square.ON
|
||||
else -> HistoryChart.Square.OFF
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user