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

Commit 323c5f24 authored by moezbhatti's avatar moezbhatti Committed by Moez Bhatti
Browse files

Fix avatars not working

parent 9d08be9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ class AvatarView @JvmOverloads constructor(
        lookupKey = contact?.lookupKey
        name = contact?.name
        // If a contactAddress has been given, we use it. Use the contact address otherwise.
        address = contactAddress ?: contact?.numbers?.firstOrNull()?.address
        address = contactAddress?.takeIf { it.isNotEmpty() } ?: contact?.numbers?.firstOrNull()?.address
        lastUpdated = contact?.lastUpdate
        updateView()
    }