SecUSo / privacy-friendly-weather

Privacy Friendly App for Android that can display weather for cities.
GNU General Public License v3.0
115 stars 30 forks source link

Problem deleting city #143

Closed woheller69 closed 3 years ago

woheller69 commented 3 years ago

Add new city Immediately delete this city before switching activity Then switch to forecast activity

The deleted city will still be there... Ideas?

sleep-yearning commented 3 years ago

The reason seems to be the asynchronous database call to add the city has not been finished. So basically the city gets deleted before its added.

Edit: Turns out it was a missing value directly after creation.

woheller69 commented 3 years ago

I already fixed it in my app.

https://github.com/woheller69/weather/commit/6870a4b3309b899481b06241c8d21164cc3cf47d

sleep-yearning commented 3 years ago

cool thanks!