Fixed extra newlines signature

This commit is contained in:
M66B
2018-09-12 05:39:24 +00:00
parent ede0b20370
commit 674a22f95d

View File

@@ -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();