From 8b2de7a54a7dbc69160fe19532181de14445adba Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Sun, 2 Aug 2026 14:38:18 +0200 Subject: [PATCH] fix weather UI --- 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 be37d74..dc14e3a 100644 --- a/src/ui/weather_detail_screen.cpp +++ b/src/ui/weather_detail_screen.cpp @@ -1,6 +1,7 @@ #include "weather_detail_screen.h" #include "ui/widgets/back_button.h" #include "api/weather_api.h" +#include "icons/icons.h" #include #include #include @@ -61,7 +62,7 @@ void buildList() { // degree column lv_obj_t *temp_label = lv_label_create(row); - lv_label_set_text(temp_label, String(fe.temperature) + "C"); + lv_label_set_text(temp_label, (String(fe.temperature) + "C").c_str()); lv_obj_set_style_text_color(temp_label, Theme::text(), 0); lv_obj_align(temp_label, LV_ALIGN_TOP_LEFT, 160, 0);