Fixes userList of the FollowList state

This commit is contained in:
Vitor Pamplona
2025-09-26 16:09:07 -04:00
parent 1384a68ee3
commit ff0a4eb88f
@@ -79,7 +79,7 @@ class FollowListState(
val userList = val userList =
flow flow
.map { .map {
it.authors.map { it.authors.mapNotNull {
cache.checkGetOrCreateUser(it) cache.checkGetOrCreateUser(it)
} }
}.flowOn(Dispatchers.Default) }.flowOn(Dispatchers.Default)
@@ -87,7 +87,7 @@ class FollowListState(
scope, scope,
SharingStarted.Eagerly, SharingStarted.Eagerly,
// this has priority. // this has priority.
flow.value.authors.map { flow.value.authors.mapNotNull {
cache.checkGetOrCreateUser(it) cache.checkGetOrCreateUser(it)
}, },
) )