mirror of https://github.com/M66B/FairEmail.git
Save draft on edit/delete reference
This commit is contained in:
parent
0c5a89085b
commit
1d73cc8933
|
@ -642,8 +642,10 @@ public class FragmentCompose extends FragmentBase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onExecuted(Bundle args, EntityMessage draft) {
|
protected void onExecuted(Bundle args, EntityMessage draft) {
|
||||||
if (draft != null)
|
if (draft != null) {
|
||||||
showDraft(draft);
|
showDraft(draft);
|
||||||
|
onAction(R.id.action_save); // Update inline images
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -727,6 +729,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
protected void onExecuted(Bundle args, EntityMessage draft) {
|
protected void onExecuted(Bundle args, EntityMessage draft) {
|
||||||
plain_only = true;
|
plain_only = true;
|
||||||
getActivity().invalidateOptionsMenu();
|
getActivity().invalidateOptionsMenu();
|
||||||
|
onAction(R.id.action_save); // Update inline images
|
||||||
showDraft(draft);
|
showDraft(draft);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue