mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Fixed NPE found by blackbox87 ... thanks pal!
This commit is contained in:
parent
6af02c4c13
commit
393f45bda1
@ -1923,8 +1923,8 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
||||
holder.position = cursor.getPosition();
|
||||
|
||||
if (holder.contactBadge != null) {
|
||||
holder.contactBadge.assignContactFromEmail(counterpartyAddress.getAddress(), true);
|
||||
if (counterpartyAddress != null) {
|
||||
holder.contactBadge.assignContactFromEmail(counterpartyAddress.getAddress(), true);
|
||||
/*
|
||||
* At least in Android 2.2 a different background + padding is used when no
|
||||
* email address is available. ListView reuses the views but QuickContactBadge
|
||||
|
Loading…
Reference in New Issue
Block a user