mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-26 01:09:13 -05:00
hide jid row in list item list when jid is null
This commit is contained in:
parent
7c0eae8059
commit
edc6ce4ff2
@ -78,9 +78,10 @@ public class ListItemAdapter extends ArrayAdapter<ListItem> {
|
||||
}
|
||||
final Jid jid = item.getJid();
|
||||
if (jid != null) {
|
||||
tvJid.setVisibility(View.VISIBLE);
|
||||
tvJid.setText(jid.toString());
|
||||
} else {
|
||||
tvJid.setText("");
|
||||
tvJid.setVisibility(View.GONE);
|
||||
}
|
||||
tvName.setText(item.getDisplayName());
|
||||
loadAvatar(item,picture);
|
||||
|
Loading…
Reference in New Issue
Block a user