From 0eb4e681cd796486a51be5b1ea6ec47a3762cc35 Mon Sep 17 00:00:00 2001 From: Aleksandar Ilic Date: Wed, 11 Dec 2024 18:41:49 +0100 Subject: [PATCH] Fix reads feeds showing up in home feeds and vice versa --- .../kotlin/net/primal/android/feeds/list/FeedListViewModel.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/net/primal/android/feeds/list/FeedListViewModel.kt b/app/src/main/kotlin/net/primal/android/feeds/list/FeedListViewModel.kt index 56807410..c4ba9154 100644 --- a/app/src/main/kotlin/net/primal/android/feeds/list/FeedListViewModel.kt +++ b/app/src/main/kotlin/net/primal/android/feeds/list/FeedListViewModel.kt @@ -222,6 +222,7 @@ class FeedListViewModel @AssistedInject constructor( dvmFeedListHandler.fetchDvmFeedsAndObserveStatsUpdates( scope = viewModelScope, userId = activeAccountStore.activeUserId(), + specKind = specKind, ) { dvmFeeds -> val updatedSelectedDvmFeed = dvmFeeds.firstOrNull { _state.value.selectedDvmFeed?.data?.eventId == it.data.eventId