diff --git a/src/displayapp/screens/WatchFaceStarTrek.cpp b/src/displayapp/screens/WatchFaceStarTrek.cpp index 87ab63c9..935c6a79 100644 --- a/src/displayapp/screens/WatchFaceStarTrek.cpp +++ b/src/displayapp/screens/WatchFaceStarTrek.cpp @@ -429,10 +429,11 @@ void WatchFaceStarTrek::Refresh() { if (settingsController.GetStarTrekWeather()) { currentWeather = weatherService.Current(); + bool isUpdated = currentWeather.IsUpdated(); auto optCurrentWeather = currentWeather.Get(); if (optCurrentWeather) { - if (weatherNeedsRefresh || currentWeather.IsUpdated()) { + if (weatherNeedsRefresh || isUpdated) { int16_t temp = optCurrentWeather->temperature; if (settingsController.GetWeatherFormat() == Controllers::Settings::WeatherFormat::Imperial) { temp = Controllers::SimpleWeatherService::CelsiusToFahrenheit(temp);