mirror of
https://github.com/skoelle/m5stack-dashboard.git
synced 2026-09-18 00:50:24 +00:00
willRainSoon from weather API
This commit is contained in:
@@ -57,7 +57,7 @@ void renderHomeScreen(bool forceRefresh) {
|
||||
M5.Lcd.setCursor(90, 65);
|
||||
M5.Lcd.print(sanitizeGermanText(lastWeather.current.description));
|
||||
|
||||
if (willRainSoon(lastWeather, 8)) {
|
||||
if (lastWeather.willRainSoon) {
|
||||
Icons::drawRainWarning(280, 30);
|
||||
M5.Lcd.setTextColor(Theme::ACCENT_RAIN, Theme::BG);
|
||||
M5.Lcd.setTextSize(1);
|
||||
|
||||
Reference in New Issue
Block a user