From 49e4f7bb465efd88b864774aa7fbebff19bd97c6 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Mon, 8 Sep 2025 18:03:01 -0400 Subject: [PATCH] Fixes feed filter update when changing the top nav filter --- .../com/vitorpamplona/amethyst/ui/feeds/FeedContentState.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/feeds/FeedContentState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/feeds/FeedContentState.kt index eada2a34b..b17795168 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/feeds/FeedContentState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/feeds/FeedContentState.kt @@ -113,6 +113,8 @@ class FeedContentState( if (lastNoteTime != lastNoteCreatedAtWhenFullyLoaded.value) { lastNoteCreatedAtWhenFullyLoaded.tryEmit(lastNoteTime) } + } else { + lastNoteCreatedAtWhenFullyLoaded.tryEmit(null) } val currentState = _feedContent.value