update UI on new data

This commit is contained in:
callebtc
2026-01-12 14:14:34 +07:00
parent 6630f5a792
commit b6d8a5b758
@@ -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 {