Fixes contract violation when sorting users.

This commit is contained in:
Vitor Pamplona
2024-04-04 16:54:14 -04:00
parent 25cde455d8
commit 98c48e8b6b
@@ -928,6 +928,7 @@ open class NewPostViewModel() : ViewModel() {
compareBy( compareBy(
{ account?.isFollowing(it) }, { account?.isFollowing(it) },
{ it.toBestDisplayName() }, { it.toBestDisplayName() },
{ it.pubkeyHex },
), ),
) )
.reversed() .reversed()