1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Don't show animation when directly opening message view

This commit is contained in:
cketti 2013-02-06 00:41:33 +01:00
parent e59d23ca0e
commit 473aebefdb

View File

@ -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();