From 5d080b656df51ad212a18f1c16b39b877641f942 Mon Sep 17 00:00:00 2001 From: cketti Date: Mon, 30 Apr 2012 16:12:14 +0200 Subject: [PATCH] Fixed a NullPointerException for the context menu in the Unified Inbox --- src/com/fsck/k9/activity/MessageList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index 35413b871..535ddee04 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -1861,7 +1861,7 @@ public class MessageList menu.findItem(R.id.archive).setVisible(false); } - if (!mAccount.hasSpamFolder()) { + if (!account.hasSpamFolder()) { menu.findItem(R.id.spam).setVisible(false); }