Files
simplex-chat/apps/ios/Shared/Model
Narasimha-sc edd82a767e ios: fix chat list subscription status indicator stuck at empty "%"
The toolbar-hosted indicator held its subscription totals in @State and refreshed them via a 1s poll; the toolbar rebuilds frequently, recreating the view and resetting the @State totals to the empty "share unknown" state. Move the totals into a dedicated SubsStatusModel observable (a shared singleton, like ChannelRelaysModel/ConnectProgressManager) so they survive view recreation, instead of binding poll state into the widely-observed ChatModel. The poll publishes only on change (SMPServerSubs is now Equatable), so the indicator does not re-render every idle second.
2026-06-20 17:02:33 +00:00
..
2024-07-28 17:54:58 +01:00