martykan / forecastie

A simple, opensource weather app for Android.
Other
870 stars 337 forks source link

Fix UVIndex refresh #622

Closed BAESI closed 2 years ago

BAESI commented 2 years ago

I fixed a bug that does not refresh UV Index when initial page and changing a city.

the values of longitude and latitude are retrieved from TodayWeather getTodayUVidnex() is executed before the value comes. So, we changed it to run getTodayUVIndex() after TodayWeatherTask ended

robinpaulson commented 2 years ago

Nice!

robinpaulson commented 2 years ago

Could you make another PR with the commented out code removed? It'll be retained in the git commit history anyway, it's easy to roll back the changes you made if something goes wrong. I'm sure it'll be fine anyway

robinpaulson commented 2 years ago

I'll remove the old, commented-out code