From 9b1a06224130f0a52da60caf745e537254ca8fae Mon Sep 17 00:00:00 2001 From: Tom Brow Date: Mon, 24 Aug 2026 11:47:36 -0700 Subject: [PATCH] fix(mobile): guard push profile cache disposal Signed-off-by: Tom Brow Co-authored-by: Codex Ai-assisted: true --- mobile/lib/shared/profile/user_cache_provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/shared/profile/user_cache_provider.dart b/mobile/lib/shared/profile/user_cache_provider.dart index dd8afce66b..9893257b90 100644 --- a/mobile/lib/shared/profile/user_cache_provider.dart +++ b/mobile/lib/shared/profile/user_cache_provider.dart @@ -68,9 +68,9 @@ class UserCacheNotifier extends Notifier> { final pubkeys = _pending.toList(); _pending.clear(); - final communityID = ref.read(activeCommunityProvider).value?.id; try { + final communityID = ref.read(activeCommunityProvider).value?.id; final session = ref.read(relaySessionProvider.notifier); final events = await session.fetchHistory( NostrFilters.profilesBatch(pubkeys),