mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Fix spacing bug when About is set to only text or only emoji.
This commit is contained in:
@@ -885,13 +885,13 @@ public class Recipient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public @Nullable String getCombinedAboutAndEmoji() {
|
public @Nullable String getCombinedAboutAndEmoji() {
|
||||||
if (aboutEmoji != null) {
|
if (!Util.isEmpty(aboutEmoji)) {
|
||||||
if (about != null) {
|
if (!Util.isEmpty(about)) {
|
||||||
return aboutEmoji + " " + about;
|
return aboutEmoji + " " + about;
|
||||||
} else {
|
} else {
|
||||||
return aboutEmoji;
|
return aboutEmoji;
|
||||||
}
|
}
|
||||||
} else if (about != null) {
|
} else if (!Util.isEmpty(about)) {
|
||||||
return about;
|
return about;
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user