forked from upstream-mirrors/quik
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