mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Two independent defects kept ISS (DESTINY) visible in the satellite-page AMSAT Live FM filter even after installing the fix and syncing data: 1. UI-layer staleness (SelectionRepo): resolveTypeIds ran only when the filter type changed and snapshotted the catnum set. A background data sync rewriting the FM/Linear lists never re-triggered resolution, so the UI kept filtering with the pre-sync (dirty) set until restart or a type toggle. ISettingsRepo now exposes a monotonic amSatListsVersion StateFlow, bumped by SettingsRepo.setAmSatCatnums; SelectionRepo combines it with currentTypes so every rewrite re-resolves instantly. 2. Data-layer staleness (DatabaseRepo): when the AMSAT FM page fetch failed, the previous list was kept verbatim — including pre-whitelist era lists containing all five ISS module entries. The stale list is now re-disambiguated: previous catnums are looked up by local name and run through the same whitelist / smallest-catnum collapse, so ISS modules always collapse to the primary ZARYA (25544).