properly show the big contact photo at locally stored contacts

This commit is contained in:
tibbi 2019-08-14 20:23:04 +02:00
parent e8a0a4223b
commit f28ea80e93

View File

@ -147,7 +147,7 @@ class ViewContactActivity : ContactActivity() {
showPhotoPlaceholder(contact_photo)
} else {
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_big.alpha = 0f
contact_photo_big.beVisible()