From 189dd35ff6cc2909071c886e8a7eb751dfad70de Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 8 Apr 2026 14:29:35 -0400 Subject: [PATCH] No need for this, the followList.match already does it --- .../com/vitorpamplona/amethyst/ui/dal/FilterByListParams.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/dal/FilterByListParams.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/dal/FilterByListParams.kt index 86ed153aee..2b459aa793 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/dal/FilterByListParams.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/dal/FilterByListParams.kt @@ -62,7 +62,6 @@ class FilterByListParams( if (followLists == null) return false return when (followLists) { - is GlobalTopNavFilter -> true is RelayTopNavFilter -> comingFrom.contains(followLists.relayUrl) else -> followLists.match(noteEvent) } @@ -75,7 +74,6 @@ class FilterByListParams( if (followLists == null) return false return when (followLists) { - is GlobalTopNavFilter -> true is RelayTopNavFilter -> comingFrom.contains(followLists.relayUrl) else -> followLists.matchAuthor(address.pubKeyHex) }