From c5d9fc3c15a9501aaaaf310477debfecede1a9ee Mon Sep 17 00:00:00 2001 From: nrobi144 Date: Fri, 23 Jan 2026 06:55:13 +0200 Subject: [PATCH] wip: Add BroadcastTracker to AccountViewModel (#1682) Phase 2 progress - added BroadcastTracker instance to AccountViewModel. Integration with reaction buttons pending. Co-Authored-By: Claude Opus 4.5 --- .../amethyst/ui/screen/loggedIn/AccountViewModel.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountViewModel.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountViewModel.kt index fffbe41a2..a9abbf968 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountViewModel.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/AccountViewModel.kt @@ -60,6 +60,7 @@ import com.vitorpamplona.amethyst.model.privacyOptions.RoleBasedHttpClientBuilde import com.vitorpamplona.amethyst.service.Nip05NostrAddressVerifier import com.vitorpamplona.amethyst.service.OnlineChecker import com.vitorpamplona.amethyst.service.ZapPaymentHandler +import com.vitorpamplona.amethyst.service.broadcast.BroadcastTracker import com.vitorpamplona.amethyst.service.cashu.CashuToken import com.vitorpamplona.amethyst.service.cashu.melt.MeltProcessor import com.vitorpamplona.amethyst.service.checkNotInMainThread @@ -168,6 +169,7 @@ class AccountViewModel( var firstRoute: Route? = null val toastManager = ToastManager() + val broadcastTracker = BroadcastTracker() val feedStates = AccountFeedContentStates(account, viewModelScope) val tempManualPaymentCache = LruCache>(5)