Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 200674eb authored by Fahim M. Choudhury's avatar Fahim M. Choudhury
Browse files

fix: fix progress rendering on Home, Search, and Updates screen

When multiple downloads are in flight, show progress in the list by validating progress against all download IDs for an app instead of a single
    downloadProgress.downloadId.

Previously, validation compared the last cursor row’s downloadId to the app’s ID. With parallel or multi-part downloads, most apps failed validation, so percentage text never updated; UI stayed on “Cancel/Installing” until completion.

Replaced single-ID equality check with set intersection: pull the app’s downloadIdMap keys and accept progress when any of those IDs appears in the aggregated progress maps.
parent 5ca87a9b
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment