mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00:00
Fix conversation list multiselect animation.
This commit is contained in:
@@ -231,7 +231,6 @@ class ConversationListAdapter extends ListAdapter<Conversation, RecyclerView.Vie
|
||||
void initializeBatchMode(boolean toggle) {
|
||||
this.batchMode = toggle;
|
||||
batchSet.clear();
|
||||
notifyDataSetChanged();
|
||||
}
|
||||
|
||||
static final class ConversationViewHolder extends RecyclerView.ViewHolder {
|
||||
|
||||
@@ -295,6 +295,10 @@ public final class ConversationListItem extends ConstraintLayout
|
||||
boolean selected = batchMode && selectedThreads.contains(thread.getThreadId());
|
||||
setSelected(selected);
|
||||
|
||||
if (recipient != null) {
|
||||
contactPhotoImage.setAvatar(glideRequests, recipient.get(), !batchMode);
|
||||
}
|
||||
|
||||
if (batchMode && selected) {
|
||||
checkContainer.setVisibility(VISIBLE);
|
||||
uncheckedView.setVisibility(GONE);
|
||||
|
||||
Reference in New Issue
Block a user