From b6d8a5b758abfa45be417e7fbf3da3359f191430 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Mon, 12 Jan 2026 14:14:34 +0700 Subject: [PATCH] update UI on new data --- bitchat/Services/GeohashParticipantTracker.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitchat/Services/GeohashParticipantTracker.swift b/bitchat/Services/GeohashParticipantTracker.swift index 1bd2df02..0e46ad34 100644 --- a/bitchat/Services/GeohashParticipantTracker.swift +++ b/bitchat/Services/GeohashParticipantTracker.swift @@ -83,6 +83,9 @@ public final class GeohashParticipantTracker: ObservableObject { var map = participants[geohash] ?? [:] map[key] = Date() participants[geohash] = map + + // Always notify observers that state has changed so counts in UI update + objectWillChange.send() // Only refresh visible list if this geohash is currently active if activeGeohash == geohash {