Fix issue where empty about could be rendered in contact list.
This commit is contained in:
parent
cc363a3c88
commit
798fc84e82
1 changed files with 3 additions and 3 deletions
|
@ -87,13 +87,13 @@ public class ContactRepository {
|
|||
String aboutEmoji = CursorUtil.requireString(cursor, RecipientDatabase.ABOUT_EMOJI);
|
||||
String about = CursorUtil.requireString(cursor, RecipientDatabase.ABOUT);
|
||||
|
||||
if (aboutEmoji != null) {
|
||||
if (about != null) {
|
||||
if (!Util.isEmpty(aboutEmoji)) {
|
||||
if (!Util.isEmpty(about)) {
|
||||
return aboutEmoji + " " + about;
|
||||
} else {
|
||||
return aboutEmoji;
|
||||
}
|
||||
} else if (about != null) {
|
||||
} else if (!Util.isEmpty(about)) {
|
||||
return about;
|
||||
} else {
|
||||
return "";
|
||||
|
|
Loading…
Add table
Reference in a new issue