From e2ccc5624c0605be6e29214968f5a90a62378e8f Mon Sep 17 00:00:00 2001 From: locker98 Date: Thu, 9 May 2024 11:34:18 -0400 Subject: [PATCH] centered tempeture and fixed Icon --- src/displayapp/screens/WatchFaceCasioStyleG7710.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp b/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp index 2d9b1a10..d1ae2631 100644 --- a/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp +++ b/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp @@ -71,7 +71,7 @@ WatchFaceCasioStyleG7710::WatchFaceCasioStyleG7710(Controllers::DateTime& dateTi temperature = lv_label_create(lv_scr_act(), nullptr); lv_obj_set_style_local_text_color(temperature, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, lv_color_hex(0x999999)); lv_label_set_text(temperature, ""); - lv_obj_align(temperature, nullptr, LV_ALIGN_IN_BOTTOM_MID, 20, 2); + lv_obj_align(temperature, nullptr, LV_ALIGN_IN_BOTTOM_MID, 20, 4); @@ -327,7 +327,7 @@ void WatchFaceCasioStyleG7710::Refresh() { } temp = temp / 100 + (temp % 100 >= 50 ? 1 : 0); lv_label_set_text_fmt(temperature, "%d°%c", temp, tempUnit); - lv_label_set_text(weatherIcon, Symbols::shoe); //GetSymbol(optCurrentWeather->iconId)); + lv_label_set_text(weatherIcon, Symbols::GetSymbol(optCurrentWeather->iconId)); } else { lv_label_set_text_static(temperature, ""); lv_label_set_text(weatherIcon, "");