Fixed extra newlines signature

pull/125/head
M66B 6 years ago
parent ede0b20370
commit 674a22f95d

@ -777,7 +777,7 @@ public class FragmentCompose extends FragmentEx {
body = body.replaceAll("\\r?\\n", "<br />");
if (pro && !TextUtils.isEmpty(account.signature))
body = "<br>" + account.signature.replaceAll("\\r?\\n", "<br />") + "<br>" + body;
body = "<br />" + account.signature + body;
} else {
draft.thread = ref.thread;
@ -835,7 +835,7 @@ public class FragmentCompose extends FragmentEx {
}
if (pro && !TextUtils.isEmpty(account.signature))
body = "<br>" + account.signature.replaceAll("\\r?\\n", "<br />") + "<br>" + body;
body = "<br />" + account.signature + body;
}
draft.received = new Date().getTime();

Loading…
Cancel
Save