Add intervalEntries to habit game UI

This commit is contained in:
2022-02-28 15:03:15 -07:00
parent e58118c8c0
commit e9c6b4d34a
3 changed files with 7 additions and 2 deletions

View File

@@ -92,7 +92,7 @@
(otherwise (break))))))
(method :Int totalPoints []
(apply + (for l (flatten (for e (the Array<Entry> (concat dailyEntries bonusEntries todoEntries)) e.labels)) l.points)))
(apply + (for l (flatten (for e (the Array<Entry> (concat dailyEntries intervalEntries bonusEntries todoEntries)) e.labels)) l.points)))
(function :String stringify [:Entry e]
"$(ifLet [(Daily days lastDayDone) e.type]