Skip to content

Commit

Permalink
Merge branch 'casio-weather' into ghoelian
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghoelian committed Nov 21, 2024
2 parents e75735b + 76da8d5 commit e33750c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/displayapp/screens/WatchFaceCasioStyleG7710.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit e33750c

Please sign in to comment.