Browse Source

Fixed extra newlines signature

main
M66B 6 years ago
parent
commit
674a22f95d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/src/main/java/eu/faircode/email/FragmentCompose.java

+ 2
- 2
app/src/main/java/eu/faircode/email/FragmentCompose.java 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();


Loading…
Cancel
Save