mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30: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)) {
|
if (initFromIntent(intent)) {
|
||||||
mAction = Action.COMPOSE;
|
mAction = Action.COMPOSE;
|
||||||
|
mDraftNeedsSaving = true;
|
||||||
} else {
|
} else {
|
||||||
String action = intent.getAction();
|
String action = intent.getAction();
|
||||||
if (ACTION_COMPOSE.equals(action)) {
|
if (ACTION_COMPOSE.equals(action)) {
|
||||||
@ -873,8 +874,6 @@ public class MessageCompose extends K9Activity implements OnClickListener,
|
|||||||
mEncryptLayout.setVisibility(View.GONE);
|
mEncryptLayout.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
mDraftNeedsSaving = false;
|
|
||||||
|
|
||||||
// Set font size of input controls
|
// Set font size of input controls
|
||||||
int fontSize = mFontSizes.getMessageComposeInput();
|
int fontSize = mFontSizes.getMessageComposeInput();
|
||||||
mFontSizes.setViewTextSize(mToView, fontSize);
|
mFontSizes.setViewTextSize(mToView, fontSize);
|
||||||
|
Loading…
Reference in New Issue
Block a user