Skip to content

Commit bc868d1

Browse files
committed
fix(weather): fix max/min temperature display
Fixes #1559
1 parent 16e85e5 commit bc868d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

services/Weather.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ Singleton {
133133
date: json.daily.time[i].replace(/-/g, "/"),
134134
maxTempC: json.daily.temperature_2m_max[i],
135135
minTempC: json.daily.temperature_2m_min[i],
136-
maxTempF: Math.round(json.daily.temperature_2m_max[i] * 9/5 + 32),
137-
minTempF: Math.round(json.daily.temperature_2m_min[i] * 9/5 + 32),
136+
maxTempF: Math.round(json.daily.temperature_2m_max[i] * 9 / 5 + 32),
137+
minTempF: Math.round(json.daily.temperature_2m_min[i] * 9 / 5 + 32),
138138
weatherCode: json.daily.weather_code[i],
139139
icon: Icons.getWeatherIcon(json.daily.weather_code[i])
140140
});

0 commit comments

Comments
 (0)