Sorts followers into a set to avoid LazyColumn key conflicts.

This commit is contained in:
Vitor Pamplona
2026-03-24 14:23:21 -04:00
parent 8437a819f8
commit 2d25bb2592
@@ -54,8 +54,8 @@ class UserProfileFollowersUserFeedViewModel(
{ it.pubkeyHex },
)
fun List<Event>.toNonHiddenOwners(): List<User> =
mapNotNull { event ->
fun List<Event>.toNonHiddenOwners(): Set<User> =
mapNotNullTo(mutableSetOf()) { event ->
if (!account.isHidden(event.pubKey)) {
account.cache.getOrCreateUser(event.pubKey)
} else {