mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 17:48:52 -06:00
now writing question and description to csv
This commit is contained in:
@@ -212,6 +212,7 @@ public abstract class HabitList implements Iterable<Habit>
|
||||
String header[] = {
|
||||
"Position",
|
||||
"Name",
|
||||
"Question",
|
||||
"Description",
|
||||
"NumRepetitions",
|
||||
"Interval",
|
||||
@@ -229,6 +230,7 @@ public abstract class HabitList implements Iterable<Habit>
|
||||
String.format("%03d", indexOf(habit) + 1),
|
||||
habit.getName(),
|
||||
habit.getQuestion(),
|
||||
habit.getDescription(),
|
||||
Integer.toString(freq.getNumerator()),
|
||||
Integer.toString(freq.getDenominator()),
|
||||
ColorConstants.CSV_PALETTE[habit.getColor()]
|
||||
|
||||
Reference in New Issue
Block a user