From 7f93cfcbca1b22baadc06f48a6981dca6205fdba Mon Sep 17 00:00:00 2001 From: Koji Arai Date: Wed, 25 May 2011 00:25:23 +0900 Subject: [PATCH] Refactoring --- src/com/fsck/k9/activity/MessageCompose.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index d9ed28141..0230c632a 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -840,13 +840,10 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc .getBoolean(STATE_KEY_BCC_SHOWN) ? View.VISIBLE : View.GONE); showOrHideQuotedText((QuotedTextMode)savedInstanceState.getSerializable(STATE_KEY_QUOTED_TEXT_MODE)); - if (mQuotedTextMode != QuotedTextMode.NONE) { - if (mMessageFormat == MessageFormat.HTML) { - mQuotedHtmlContent = (InsertableHtmlContent) savedInstanceState.getSerializable(STATE_KEY_HTML_QUOTE); - if (mQuotedHtmlContent != null && mQuotedHtmlContent.getQuotedContent() != null) { - mQuotedHTML.loadDataWithBaseURL("http://", mQuotedHtmlContent.getQuotedContent(), "text/html", "utf-8", null); - mQuotedTextEdit.setVisibility(View.VISIBLE); - } + if (mQuotedTextMode != QuotedTextMode.NONE && mMessageFormat == MessageFormat.HTML) { + mQuotedHtmlContent = (InsertableHtmlContent) savedInstanceState.getSerializable(STATE_KEY_HTML_QUOTE); + if (mQuotedHtmlContent != null && mQuotedHtmlContent.getQuotedContent() != null) { + mQuotedHTML.loadDataWithBaseURL("http://", mQuotedHtmlContent.getQuotedContent(), "text/html", "utf-8", null); } } mDraftUid = savedInstanceState.getString(STATE_KEY_DRAFT_UID);