mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Format source code
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user