1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 21:45:14 -05:00

Fix typo causing a NPE.

This commit is contained in:
Danny Baumann 2013-01-08 09:29:34 +01:00
parent 84a5e34537
commit cb9cff382f

View File

@ -447,7 +447,7 @@ public class MessageView extends K9FragmentActivity implements MessageViewFragme
private void showNextMessage() { private void showNextMessage() {
findSurroundingMessagesUid(); findSurroundingMessagesUid();
if (mMessageReferences == null) { if (mMessageReferences != null) {
mMessageReferences.remove(mMessageReference); mMessageReferences.remove(mMessageReference);
} }
if (mLastDirection == NEXT && mNextMessage != null) { if (mLastDirection == NEXT && mNextMessage != null) {