Sort contacts in group avatar by those that have photos

This commit is contained in:
Moez Bhatti
2019-11-24 00:32:09 -05:00
parent 573b01ff65
commit 9df2375611
@@ -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()
}