make the avatars at Select Favorite round too

This commit is contained in:
tibbi 2020-01-04 16:12:14 +01:00
parent 16e29973f8
commit 3705a49a3f

View file

@ -155,7 +155,12 @@ class SelectContactsAdapter(val activity: SimpleActivity, var contacts: ArrayLis
.centerCrop()
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 {
contact_tmb.setImageDrawable(contactDrawable)