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

View File

@ -928,6 +928,7 @@ open class NewPostViewModel() : ViewModel() {
compareBy(
{ account?.isFollowing(it) },
{ it.toBestDisplayName() },
{ it.pubkeyHex },
),
)
.reversed()