1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 06:25:37 -05:00

weather: fix rain chance

This commit is contained in:
bbedward
2025-11-04 08:42:19 -05:00
parent c565fc08c3
commit 1d639d5f5a

View File

@@ -513,7 +513,7 @@ Singleton {
"sunset": formatTime(daily.sunset?.[0]) || "18:00",
"uv": 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),
"forecast": forecast
}