mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-20 11:08:31 +00:00
Sort unregistered accounts to the end of group members list in contacts search.
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user