use proper avatar image signature at loading local contacts

This commit is contained in:
tibbi 2020-01-19 13:33:24 +01:00
parent 5841baa0f8
commit 36a15478b4
1 changed files with 1 additions and 1 deletions

View File

@ -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()