Skip to content

Commit e3eab70

Browse files
committed
Fix day / night weather icons
1 parent 3bdc858 commit e3eab70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/pages/Weather.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
<div class="row">
218218
<img
219219
class="weather-icon col-3"
220-
src="{get_weather_icon(weatherData.current.weather.icon, weatherData.is_day)}"
220+
src="{get_weather_icon(weatherData.current.weather.icon, $isDay)}"
221221
alt="{weatherData.current.weather.description}"
222222
title="{weatherData.current.weather.description}"
223223
/>
@@ -253,7 +253,7 @@
253253
</span>
254254
<img
255255
class="weather-icon"
256-
src="{get_weather_icon(day.weather.icon, weatherData.is_day)}"
256+
src="{get_weather_icon(day.weather.icon, $isDay)}"
257257
alt="{day.weather.description}"
258258
title="{day.weather.description}"
259259
/>

0 commit comments

Comments
 (0)