Skip to content

Commit

Permalink
fix: woops forgot to remove this debugging thing
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicMushroom committed Jan 4, 2024
1 parent be33f88 commit b9622d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class WeatherExtension : Extension() {
val currentTimeLine: Double = Duration.between(startTime, currentTime).toKotlinDuration() / 5.minutes

val points = json["precip"]?.jsonArray?.map {
(it.jsonPrimitive.float * 10.0) + 10
(it.jsonPrimitive.float * 10.0)
} ?: bail("Couldn't fetch rain data")
val xsLabels = List(points.size) { i ->
val time =
Expand Down

0 comments on commit b9622d2

Please sign in to comment.