From 76da8d573179e5d3a44e843db7ec72ccc9763fb9 Mon Sep 17 00:00:00 2001 From: Julian Vos Date: Thu, 21 Nov 2024 21:02:57 +0000 Subject: [PATCH] fix: update casio watchface to use new SimpleWeatherService attributes --- 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 0bb82fd868..a4308660ec 100644 --- a/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp +++ b/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp @@ -378,11 +378,11 @@ void WatchFaceCasioStyleG7710::Refresh() { auto optCurrentWeather = currentWeather.Get(); if (optCurrentWeather) { - int16_t temp = optCurrentWeather->temperature; + int16_t temp = optCurrentWeather->temperature.Celsius(); char tempUnit = 'C'; if (settingsController.GetWeatherFormat() == Controllers::Settings::WeatherFormat::Imperial) { - temp = Controllers::SimpleWeatherService::CelsiusToFahrenheit(temp); + temp = optCurrentWeather->temperature.Fahrenheit(); tempUnit = 'F'; }