Feature collection #19

Open
mwarning wants to merge 24 commits from mwarning/luna-tracker:bottle_time into master
13 changed files with 565 additions and 203 deletions
Showing only changes of commit d49701a488 - Show all commits

View File

@@ -49,6 +49,8 @@ class LunaEvent: Comparable<LunaEvent> {
set(value) { set(value) {
if (value > 0) if (value > 0)
jo.put("quantity", value) jo.put("quantity", value)
else
jo.remove("quantity")
} }
var notes: String var notes: String
get(): String = jo.optString("notes") get(): String = jo.optString("notes")