forked from upstream-mirrors/quik
Fix avatars not working
This commit is contained in:
@@ -94,7 +94,7 @@ class AvatarView @JvmOverloads constructor(
|
|||||||
lookupKey = contact?.lookupKey
|
lookupKey = contact?.lookupKey
|
||||||
name = contact?.name
|
name = contact?.name
|
||||||
// If a contactAddress has been given, we use it. Use the contact address otherwise.
|
// 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
|
lastUpdated = contact?.lastUpdate
|
||||||
updateView()
|
updateView()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user