From c09a5b6e3647a7c227abf18ec6f17a59c760aef9 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Sun, 2 Aug 2026 14:51:31 +0200 Subject: [PATCH] weather UI update --- src/ui/weather_detail_screen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/weather_detail_screen.cpp b/src/ui/weather_detail_screen.cpp index 2b56dc0..d3715c2 100644 --- a/src/ui/weather_detail_screen.cpp +++ b/src/ui/weather_detail_screen.cpp @@ -53,6 +53,7 @@ void buildList() { // icon - use weather symbol lv_obj_t *icon = Icons::createWeatherIcon(row, fe.symbol, fe.description, 24); + lv_obj_align(icon, LV_ALIGN_TOP_LEFT, 10, 0); // time column lv_obj_t *time_label = lv_label_create(row); @@ -75,7 +76,7 @@ void buildList() { } lv_obj_t *desc_label = lv_label_create(row); lv_label_set_text(desc_label, desc.c_str()); - lv_obj_set_style_text_color(desc_label, Theme::textDim(), 0); + lv_obj_set_style_text_color(desc_label, fe.precipitationType == "rain" ? Theme::accentRain() : Theme::textDim(), 0); lv_obj_align(desc_label, LV_ALIGN_TOP_LEFT, 220, 0); // rain probability column - show percentage for rain