Format source code
This commit is contained in:
parent
035b392ece
commit
0daa4f6a2f
@ -192,7 +192,7 @@ abstract class HabitList : Iterable<Habit> {
|
|||||||
"Unit",
|
"Unit",
|
||||||
"Target Type",
|
"Target Type",
|
||||||
"Target Value",
|
"Target Value",
|
||||||
"Archived?",
|
"Archived?"
|
||||||
)
|
)
|
||||||
val csv = CSVWriter(out)
|
val csv = CSVWriter(out)
|
||||||
csv.writeNext(header, false)
|
csv.writeNext(header, false)
|
||||||
@ -210,7 +210,7 @@ abstract class HabitList : Iterable<Habit> {
|
|||||||
if (habit.isNumerical) habit.unit else "",
|
if (habit.isNumerical) habit.unit else "",
|
||||||
if (habit.isNumerical) habit.targetType.name else "",
|
if (habit.isNumerical) habit.targetType.name else "",
|
||||||
if (habit.isNumerical) habit.targetValue.toString() else "",
|
if (habit.isNumerical) habit.targetValue.toString() else "",
|
||||||
habit.isArchived.toString(),
|
habit.isArchived.toString()
|
||||||
)
|
)
|
||||||
csv.writeNext(cols, false)
|
csv.writeNext(cols, false)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user