Skip to content
  • Aleix Pol Gonzalez's avatar
    wallpapers: simplify the refreshes of the BackgroundsModel · 048495a5
    Aleix Pol Gonzalez authored and Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez committed
    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.
    048495a5