mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Clear composing
This commit is contained in:
parent
58cad3f503
commit
306af1adb9
1 changed files with 8 additions and 0 deletions
|
@ -1295,6 +1295,8 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
private void convertRef(boolean plain) {
|
||||
etBody.clearComposingText();
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("id", working);
|
||||
args.putBoolean("plain", plain);
|
||||
|
@ -1379,6 +1381,8 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
private void deleteRef() {
|
||||
etBody.clearComposingText();
|
||||
|
||||
Bundle extras = new Bundle();
|
||||
extras.putString("html", HtmlHelper.toHtml(etBody.getText(), getContext()));
|
||||
extras.putBoolean("show", true);
|
||||
|
@ -2039,6 +2043,8 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
private void onMenuAnswerCreate() {
|
||||
etBody.clearComposingText();
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putString("subject", etSubject.getText().toString());
|
||||
args.putString("html", HtmlHelper.toHtml(etBody.getText(), getContext()));
|
||||
|
@ -2553,6 +2559,8 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
private void onAddAttachment(List<Uri> uris, boolean image, int resize, boolean privacy) {
|
||||
etBody.clearComposingText();
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("id", working);
|
||||
args.putParcelableArrayList("uris", new ArrayList<>(uris));
|
||||
|
|
Loading…
Reference in a new issue