Fix image problem in chat list
This commit is contained in:
parent
8f26fe7a23
commit
594bc9fbf3
1 changed files with 4 additions and 2 deletions
|
@ -483,6 +483,8 @@ public class ChatListFragment extends Fragment implements OnClickListener, OnIte
|
||||||
|
|
||||||
if(contact != null){
|
if(contact != null){
|
||||||
LinphoneUtils.setImagePictureFromUri(view.getContext(), contactPicture, contact.getPhotoUri(), contact.getThumbnailUri());
|
LinphoneUtils.setImagePictureFromUri(view.getContext(), contactPicture, contact.getPhotoUri(), contact.getThumbnailUri());
|
||||||
|
} else {
|
||||||
|
contactPicture.setImageResource(R.drawable.avatar);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (unreadMessagesCount > 0) {
|
if (unreadMessagesCount > 0) {
|
||||||
|
|
Loading…
Reference in a new issue