mirror of
https://github.com/etesync/android
synced 2024-11-17 05:19:12 +00:00
Fix crash when viewing contacts with empty (but existing) nicknames.
This commit is contained in:
parent
6a177b1b7e
commit
5e568ec43e
@ -359,7 +359,7 @@ public class JournalItemActivity extends BaseActivity implements Refreshable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NICKNAME
|
// NICKNAME
|
||||||
if (contact.nickName != null) {
|
if (contact.nickName != null && contact.nickName.getValues().size() > 0) {
|
||||||
addInfoItem(view.getContext(), aboutCard, getString(R.string.journal_item_nickname), null, contact.nickName.getValues().get(0));
|
addInfoItem(view.getContext(), aboutCard, getString(R.string.journal_item_nickname), null, contact.nickName.getValues().get(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user