From e0b72ac64d379ab1a6e7c2092b8af8f82dd7aa72 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Wed, 24 Apr 2024 08:05:09 -0500 Subject: [PATCH] WARNING, BROKEN: sync changes --- src/displayapp/screens/.Weather.cpp.kate-swp | Bin 298 -> 0 bytes src/displayapp/screens/Weather.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 src/displayapp/screens/.Weather.cpp.kate-swp diff --git a/src/displayapp/screens/.Weather.cpp.kate-swp b/src/displayapp/screens/.Weather.cpp.kate-swp deleted file mode 100644 index 0a1a26d269ca55538bee6c982d734671ce9daf1a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 298 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?VnnP7JPpqt6`=?8uGOucw$p0M=usiwi6 zK$#jKjs{}Ja921#2E1f*f^OF?!lZ+L2ANk(dsM`}(%Dw4q&AdOb8!3d)=;UX}@vVbDlt^i4WH5&i` diff --git a/src/displayapp/screens/Weather.cpp b/src/displayapp/screens/Weather.cpp index 9036d7c1..c99c7545 100644 --- a/src/displayapp/screens/Weather.cpp +++ b/src/displayapp/screens/Weather.cpp @@ -122,7 +122,7 @@ void Weather::Refresh() { int16_t temp = optCurrentWeather->temperature; int16_t minTemp = optCurrentWeather->minTemperature; int16_t maxTemp = optCurrentWeather->maxTemperature; - lv_obj_set_style_local_text_color(temperature, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, TemperatureColor(temp)); + lv_obj_set_style_local_text_color(temperature, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, WeatherHelper::TemperatureColor(temp)); char tempUnit = 'C'; if (settingsController.GetWeatherFormat() == Controllers::Settings::WeatherFormat::Imperial) { temp = Controllers::SimpleWeatherService::CelsiusToFahrenheit(temp);