mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Fixed edit ref / encryption
This commit is contained in:
@@ -4161,6 +4161,12 @@ public class FragmentCompose extends FragmentBase {
|
||||
etCc.setText(MessageHelper.formatAddressesCompose(draft.cc));
|
||||
etBcc.setText(MessageHelper.formatAddressesCompose(draft.bcc));
|
||||
|
||||
Bundle extras = args.getBundle("extras");
|
||||
boolean show = extras.getBoolean("show");
|
||||
boolean html = extras.containsKey("html");
|
||||
if (show)
|
||||
showDraft(draft, html);
|
||||
|
||||
bottom_navigation.getMenu().findItem(R.id.action_undo).setVisible(draft.revision > 1);
|
||||
bottom_navigation.getMenu().findItem(R.id.action_redo).setVisible(draft.revision < draft.revisions);
|
||||
|
||||
@@ -4181,11 +4187,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
showDraft(draft, false);
|
||||
|
||||
} else if (action == R.id.action_save) {
|
||||
Bundle extras = args.getBundle("extras");
|
||||
boolean show = extras.getBoolean("show");
|
||||
boolean html = extras.containsKey("html");
|
||||
if (show)
|
||||
showDraft(draft, html);
|
||||
// Do nothing
|
||||
|
||||
} else if (action == R.id.action_check) {
|
||||
boolean dialog = args.getBundle("extras").getBoolean("dialog");
|
||||
|
||||
Reference in New Issue
Block a user