mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Don't show animation when directly opening message view
This commit is contained in:
parent
e59d23ca0e
commit
473aebefdb
@ -325,7 +325,6 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MESSAGE_VIEW: {
|
case MESSAGE_VIEW: {
|
||||||
mViewSwitcher.setAnimateFirstView(true);
|
|
||||||
showMessageView();
|
showMessageView();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1369,6 +1368,9 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
|||||||
private void showMessageView() {
|
private void showMessageView() {
|
||||||
mDisplayMode = DisplayMode.MESSAGE_VIEW;
|
mDisplayMode = DisplayMode.MESSAGE_VIEW;
|
||||||
|
|
||||||
|
if (!mMessageListWasDisplayed) {
|
||||||
|
mViewSwitcher.setAnimateFirstView(false);
|
||||||
|
}
|
||||||
mViewSwitcher.showSecondView();
|
mViewSwitcher.showSecondView();
|
||||||
|
|
||||||
showMessageTitleView();
|
showMessageTitleView();
|
||||||
|
Loading…
Reference in New Issue
Block a user