mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
Save draft on edit/delete reference
This commit is contained in:
@@ -642,8 +642,10 @@ public class FragmentCompose extends FragmentBase {
|
||||
|
||||
@Override
|
||||
protected void onExecuted(Bundle args, EntityMessage draft) {
|
||||
if (draft != null)
|
||||
if (draft != null) {
|
||||
showDraft(draft);
|
||||
onAction(R.id.action_save); // Update inline images
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -727,6 +729,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
protected void onExecuted(Bundle args, EntityMessage draft) {
|
||||
plain_only = true;
|
||||
getActivity().invalidateOptionsMenu();
|
||||
onAction(R.id.action_save); // Update inline images
|
||||
showDraft(draft);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user