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() {
|
||||
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 null;
|
||||
|
|
Ładowanie…
Reference in New Issue