make the avatars at Select Favorite round too
This commit is contained in:
parent
16e29973f8
commit
3705a49a3f
|
@ -155,7 +155,12 @@ class SelectContactsAdapter(val activity: SimpleActivity, var contacts: ArrayLis
|
||||||
.centerCrop()
|
.centerCrop()
|
||||||
|
|
||||||
if (!activity.isDestroyed && !activity.isFinishing) {
|
if (!activity.isDestroyed && !activity.isFinishing) {
|
||||||
Glide.with(activity).load(contact.photoUri).transition(DrawableTransitionOptions.withCrossFade()).apply(options).into(contact_tmb)
|
Glide.with(activity)
|
||||||
|
.load(contact.photoUri)
|
||||||
|
.transition(DrawableTransitionOptions.withCrossFade())
|
||||||
|
.apply(options)
|
||||||
|
.apply(RequestOptions.circleCropTransform())
|
||||||
|
.into(contact_tmb)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
contact_tmb.setImageDrawable(contactDrawable)
|
contact_tmb.setImageDrawable(contactDrawable)
|
||||||
|
|
Loading…
Reference in New Issue