Fix selection getting stuck when exiting multiselect on conversation list.

This commit is contained in:
Greyson Parrelli
2021-11-05 18:38:33 -04:00
parent 2836a6060d
commit f5af964286

View File

@@ -231,6 +231,7 @@ class ConversationListAdapter extends ListAdapter<Conversation, RecyclerView.Vie
void initializeBatchMode(boolean toggle) {
this.batchMode = toggle;
batchSet.clear();
notifyItemRangeChanged(0, getItemCount(), Payload.SELECTION);
}
static final class ConversationViewHolder extends RecyclerView.ViewHolder {