mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 08:22:51 -05:00
weather: fix rain chance
This commit is contained in:
@@ -513,7 +513,7 @@ Singleton {
|
|||||||
"sunset": formatTime(daily.sunset?.[0]) || "18:00",
|
"sunset": formatTime(daily.sunset?.[0]) || "18:00",
|
||||||
"uv": 0,
|
"uv": 0,
|
||||||
"pressure": Math.round(current.surface_pressure || 0),
|
"pressure": Math.round(current.surface_pressure || 0),
|
||||||
"precipitationProbability": Math.round(current.precipitation || 0),
|
"precipitationProbability": Math.round(daily.precipitation_probability_max?.[0] || 0),
|
||||||
"isDay": Boolean(current.is_day),
|
"isDay": Boolean(current.is_day),
|
||||||
"forecast": forecast
|
"forecast": forecast
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user