mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Sort contacts in group avatar by those that have photos
This commit is contained in:
@@ -37,7 +37,7 @@ class GroupAvatarView @JvmOverloads constructor(
|
||||
|
||||
var contacts: List<Recipient> = ArrayList()
|
||||
set(value) {
|
||||
field = value
|
||||
field = value.sortedWith(compareByDescending { contact -> contact.contact?.lookupKey })
|
||||
updateView()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user