mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Issue 4594: draft not saved with shared info
When another app shared info with K-9 Mail, the draft was not always being saved when the "Save as draft" menu option was selected.
This commit is contained in:
parent
33678ea022
commit
005241d97b
@ -736,6 +736,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
|
||||
|
||||
if (initFromIntent(intent)) {
|
||||
mAction = Action.COMPOSE;
|
||||
mDraftNeedsSaving = true;
|
||||
} else {
|
||||
String action = intent.getAction();
|
||||
if (ACTION_COMPOSE.equals(action)) {
|
||||
@ -873,8 +874,6 @@ public class MessageCompose extends K9Activity implements OnClickListener,
|
||||
mEncryptLayout.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
mDraftNeedsSaving = false;
|
||||
|
||||
// Set font size of input controls
|
||||
int fontSize = mFontSizes.getMessageComposeInput();
|
||||
mFontSizes.setViewTextSize(mToView, fontSize);
|
||||
|
Loading…
Reference in New Issue
Block a user