Crash fix

This commit is contained in:
Moez Bhatti
2015-10-31 11:57:28 -04:00
parent e4a27ba7e9
commit 7751596d5a
@@ -780,7 +780,7 @@ public class MessageListFragment extends QKContentFragment implements ActivityLa
inflater.inflate(R.menu.conversation, menu);
setTitle();
ConversationPrefsHelper conversationPrefs = new ConversationPrefsHelper(mContext, mThreadId);
ConversationPrefsHelper conversationPrefs = new ConversationPrefsHelper(context, mThreadId);
menu.findItem(R.id.menu_notifications).setTitle(conversationPrefs.getNotificationsEnabled() ?
R.string.menu_notifications : R.string.menu_notifications_off);
menu.findItem(R.id.menu_notifications).setIcon(conversationPrefs.getNotificationsEnabled() ?