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

Verified Commit 97c3d836 authored by Fahim M. Choudhury's avatar Fahim M. Choudhury
Browse files

refactor(updates): fetch system-apps updates concurrently

System app update checks were sequential — each app's GitLab API call waited for the previous one to complete. With multiple system apps this added seconds of unnecessary latency on the updates screen.

Run all fetches in parallel using coroutineScope + async so total wait time is bounded by the slowest single request rather than the sum of all requests.

Extract per-app logic into fetchSystemAppUpdate() returning null for skipped apps, and replace early-return chains with null-propagation to make the data flow explicit and avoid lambda-return ambiguity.
parent 2cf3614d
Loading
Loading
Loading
Loading