From 29512969bc03fa1dc77f70eb8b689d30ca545874 Mon Sep 17 00:00:00 2001 From: Arif Hasanic Date: Wed, 24 Sep 2025 20:19:35 +0200 Subject: [PATCH] always use day weather icons --- src/store/weather.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/store/weather.ts b/src/store/weather.ts index 1d505dd..71cfbfa 100644 --- a/src/store/weather.ts +++ b/src/store/weather.ts @@ -366,10 +366,9 @@ const useWeatherStore = create( }, }; - const isDay = weatherData.current.is_day === 1; + // const isDay = weatherData.current.is_day === 1; const weatherCode = weatherData.current.weather_code; - const url = - iconNumberToPng[weatherCode][isDay ? "day" : "night"].image; + const url = iconNumberToPng[weatherCode].day.image; weatherData.current = { ...weatherData.current, icon: url };