File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ void Weather::Refresh() {
154154 std::tm localTime = *std::localtime (reinterpret_cast <const time_t *>(&optCurrentForecast->timestamp ));
155155
156156 for (int i = 0 ; i < optCurrentForecast->nbDays ; i++) {
157- int16_t minTemp = optCurrentForecast->days [i]->maxTemperature .Celsius ();
158- int16_t maxTemp = optCurrentForecast->days [i]->minTemperature .Celsius ();
157+ int16_t minTemp = optCurrentForecast->days [i]->minTemperature .Celsius ();
158+ int16_t maxTemp = optCurrentForecast->days [i]->maxTemperature .Celsius ();
159159 if (settingsController.GetWeatherFormat () == Controllers::Settings::WeatherFormat::Imperial) {
160160 minTemp = optCurrentForecast->days [i]->maxTemperature .Fahrenheit ();
161161 maxTemp = optCurrentForecast->days [i]->minTemperature .Fahrenheit ();
You can’t perform that action at this time.
0 commit comments