mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-25 14:57:20 +00:00
Remove extra space below notification text.
Special thanks to @dwong Fixes #7905
This commit is contained in:
parent
2acbea014b
commit
d79564021f
@ -258,10 +258,12 @@ public class SingleRecipientNotificationBuilder extends AbstractNotificationBuil
|
|||||||
private CharSequence getBigText(List<CharSequence> messageBodies) {
|
private CharSequence getBigText(List<CharSequence> messageBodies) {
|
||||||
SpannableStringBuilder content = new SpannableStringBuilder();
|
SpannableStringBuilder content = new SpannableStringBuilder();
|
||||||
|
|
||||||
for (CharSequence message : messageBodies) {
|
for (int i = 0; i < messageBodies.size(); i++) {
|
||||||
content.append(message);
|
content.append(messageBodies.get(i));
|
||||||
|
if (i < messageBodies.size() - 1) {
|
||||||
content.append('\n');
|
content.append('\n');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user