mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-04-07 23:01:18 +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 -> {
|
contact.photo != null -> {
|
||||||
val options = RequestOptions()
|
val options = RequestOptions()
|
||||||
.signature(ObjectKey(contact.photo!!))
|
.signature(ObjectKey(contact.hashCode()))
|
||||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||||
.error(placeholderImage)
|
.error(placeholderImage)
|
||||||
.centerCrop()
|
.centerCrop()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user