Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9df23756 authored by Moez Bhatti's avatar Moez Bhatti
Browse files

Sort contacts in group avatar by those that have photos

parent 573b01ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()
        }