Sort unregistered accounts to the end of group members list in contacts search.

This commit is contained in:
jeffrey-signal
2025-12-04 08:58:10 -06:00
parent 2b4d5d74f2
commit 0a41bbd22d

View File

@@ -587,7 +587,7 @@ open class ContactSearchAdapter(
} }
) )
} }
.sortedWith(compareBy({ it.recipient.isSelf }, { it.displayName })) .sortedWith(compareBy({ it.recipient.isUnregistered }, { it.recipient.isSelf }, { it.displayName }))
.joinToString(", ") { it.displayName } .joinToString(", ") { it.displayName }
} }
} }