From 1d90e37f71ce1372fd455c63f5420f3ce9697a7b Mon Sep 17 00:00:00 2001 From: KotlinGeekDev Date: Sat, 22 Mar 2025 19:55:53 +0100 Subject: [PATCH] Fix mixup in follow set categorization logic. --- .../amethyst/ui/screen/loggedIn/lists/FollowSet.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/FollowSet.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/FollowSet.kt index b1cb02731..164c8acaf 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/FollowSet.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/FollowSet.kt @@ -44,14 +44,14 @@ data class FollowSet( event.privateTaggedUsers(signer) { userList -> privateFollows.addAll(userList) } return if (publicFollows.isEmpty() && privateFollows.isNotEmpty()) { FollowSet( - type = ListType.Public, + type = ListType.Private, title = listTitle, description = listDescription, profileList = privateFollows.toSet(), ) } else if (publicFollows.isNotEmpty() && privateFollows.isEmpty()) { FollowSet( - type = ListType.Private, + type = ListType.Public, title = listTitle, description = listDescription, profileList = publicFollows.toSet(),