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) }