diff --git a/uhabits-core/src/jvmMain/java/org/isoron/uhabits/core/models/HabitList.kt b/uhabits-core/src/jvmMain/java/org/isoron/uhabits/core/models/HabitList.kt index 74ee0a700..26a89a3ae 100644 --- a/uhabits-core/src/jvmMain/java/org/isoron/uhabits/core/models/HabitList.kt +++ b/uhabits-core/src/jvmMain/java/org/isoron/uhabits/core/models/HabitList.kt @@ -186,7 +186,8 @@ abstract class HabitList : Iterable { "Description", "NumRepetitions", "Interval", - "Color" + "Color", + "Unit" ) val csv = CSVWriter(out) csv.writeNext(header, false) @@ -199,7 +200,8 @@ abstract class HabitList : Iterable { habit.description, numerator.toString(), denominator.toString(), - habit.color.toCsvColor() + habit.color.toCsvColor(), + habit.unit ) csv.writeNext(cols, false) }