Merge pull request #1308 from deltachat/fix-npe

Fix Null-Pointer-Exception
This commit is contained in:
bjoern
2020-04-24 00:35:27 +02:00
committed by GitHub
@@ -449,7 +449,10 @@ public class ConversationListFragment extends Fragment
getListAdapter().initializeBatchMode(true);
getListAdapter().toggleThreadInBatchSet(item.getChatId());
getListAdapter().notifyDataSetChanged();
updateActionModeItems(actionMode.getMenu());
Menu menu = actionMode.getMenu();
if (menu != null) {
updateActionModeItems(menu);
}
}
@Override