mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Contact picture fix.
Clear out old/unrelated (previously bound) contactBadge info in MessageListAdapter.bindView that could otherwise be displayed when tapping on a contactBadge with no counterpartyAddress (may require scrolling the message list up and down first before the bug becomes evident).
This commit is contained in:
parent
1afff1e38f
commit
313a5bff9c
@ -1972,6 +1972,7 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
||||
holder.contactBadge.setPadding(0, 0, 0, 0);
|
||||
mContactsPictureLoader.loadContactPicture(counterpartyAddress, holder.contactBadge);
|
||||
} else {
|
||||
holder.contactBadge.assignContactUri(null);
|
||||
holder.contactBadge.setImageResource(R.drawable.ic_contact_picture);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user