mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed local contact avatar not being displayed except in side-menu
This commit is contained in:
parent
5af5c8a1a6
commit
e6152acf0e
1 changed files with 4 additions and 0 deletions
|
|
@ -386,6 +386,10 @@ fun Friend.getPictureUri(thumbnailPreferred: Boolean = false): Uri? {
|
|||
ContactsContract.Contacts.Photo.CONTENT_DIRECTORY
|
||||
)
|
||||
} catch (e: Exception) { }
|
||||
} else if (photo != null) {
|
||||
try {
|
||||
return Uri.parse(photo)
|
||||
} catch (e: Exception) { }
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue