penguin-teal / gnome-openweather

A GNOME Shell extension to show the weather of any location on Earth.
GNU General Public License v3.0
57 stars 17 forks source link

Setting "Total Days In Forecast" to 0 prevents parsing today #70

Open litemotiv opened 3 months ago

litemotiv commented 3 months ago

The config indicates that setting the forecast to 0 days will only show today. However after reloading the extension the forecast for today is disabled.

Screenshot: 2024-07-30_12-54

Expected behaviour is that today's forecast will be shown, but the panel for coming days will be hidden.

{"app-version":"138","git-version":"138.r0.g6367a11","gnome-version":"46.3.1","user-locale":"en","custom-keys":["<REDACTED>","",""],"appid":"<REDACTED>","actual-city":"1","weather-provider":"'openweathermap'","has-run":"true","days-forecast":"0","delay-ext-init":"30","locs":[{},{}],"center-forecast":"true","show-sunsetrise-in-panel":"false","weatherapidotcom-key":"<REDACTED>","position-index":"2","use-system-icons":"false","wind-direction":"true","geolocation-appid-mapquest":"<REDACTED>","menu-alignment":"52.272727272727273","position-in-panel":"'right'","show-comment-in-panel":"false"}
penguin-teal commented 2 months ago

Thanks for the bug report! I'll look into this when I get time!