mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-04-02 20:31:05 +02:00
use proper avatar image signature at loading local contacts
This commit is contained in:
parent
5841baa0f8
commit
36a15478b4
@ -327,7 +327,7 @@ class ContactsAdapter(activity: SimpleActivity, var contactItems: ArrayList<Cont
|
||||
}
|
||||
contact.photo != null -> {
|
||||
val options = RequestOptions()
|
||||
.signature(ObjectKey(contact.photo!!))
|
||||
.signature(ObjectKey(contact.hashCode()))
|
||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||
.error(placeholderImage)
|
||||
.centerCrop()
|
||||
|
Loading…
x
Reference in New Issue
Block a user