Commit 048495a5 authored byBrowse files
Aleix Pol Gonzalez
wallpapers: simplify the refreshes of the BackgroundsModel
The refreshes are async and we were cleaning it up at the async trigger and populating it at the end. This created an intermediate invalid state which confused the item selection code. This change moves all the refreshing into one reset call so the view is only refreshed once. This helps us keep the frontend code simpler by not having to refresh to show momentarily invalid information.
Showing with 20 additions and 30 deletions