kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix spacing bug when About is set to only text or only emoji.
rodzic
5cfdf626fe
commit
3182e5af88
|
@ -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;
|
||||||
|
|
Ładowanie…
Reference in New Issue