From 473aebefdb463c633724c3413fae0704a108ae54 Mon Sep 17 00:00:00 2001 From: cketti Date: Wed, 6 Feb 2013 00:41:33 +0100 Subject: [PATCH] Don't show animation when directly opening message view --- src/com/fsck/k9/activity/MessageList.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index ca74d1a63..367751f82 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -325,7 +325,6 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme break; } case MESSAGE_VIEW: { - mViewSwitcher.setAnimateFirstView(true); showMessageView(); break; } @@ -1369,6 +1368,9 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme private void showMessageView() { mDisplayMode = DisplayMode.MESSAGE_VIEW; + if (!mMessageListWasDisplayed) { + mViewSwitcher.setAnimateFirstView(false); + } mViewSwitcher.showSecondView(); showMessageTitleView();