File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ void Weather::Refresh() {
154
154
std::tm localTime = *std::localtime (reinterpret_cast <const time_t *>(&optCurrentForecast->timestamp ));
155
155
156
156
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 ();
159
159
if (settingsController.GetWeatherFormat () == Controllers::Settings::WeatherFormat::Imperial) {
160
160
minTemp = optCurrentForecast->days [i]->maxTemperature .Fahrenheit ();
161
161
maxTemp = optCurrentForecast->days [i]->minTemperature .Fahrenheit ();
You can’t perform that action at this time.
0 commit comments