properly show the big contact photo at locally stored contacts
This commit is contained in:
parent
e8a0a4223b
commit
f28ea80e93
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ class ViewContactActivity : ContactActivity() {
|
||||||
showPhotoPlaceholder(contact_photo)
|
showPhotoPlaceholder(contact_photo)
|
||||||
} else {
|
} else {
|
||||||
updateContactPhoto(contact!!.photoUri, contact_photo, contact!!.photo)
|
updateContactPhoto(contact!!.photoUri, contact_photo, contact!!.photo)
|
||||||
Glide.with(this).load(currentContactPhotoPath).into(contact_photo_big)
|
Glide.with(this).load(contact!!.photo ?: currentContactPhotoPath).into(contact_photo_big)
|
||||||
contact_photo.setOnClickListener {
|
contact_photo.setOnClickListener {
|
||||||
contact_photo_big.alpha = 0f
|
contact_photo_big.alpha = 0f
|
||||||
contact_photo_big.beVisible()
|
contact_photo_big.beVisible()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue