Long press unified inbox only

pull/146/head
M66B 6 years ago
parent 77030633fe
commit f7f26e5332

@ -247,7 +247,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
private void wire() { private void wire() {
itemView.setOnClickListener(this); itemView.setOnClickListener(this);
if (viewType != ViewType.THREAD) if (viewType == ViewType.UNIFIED)
itemView.setOnLongClickListener(this); itemView.setOnLongClickListener(this);
ivExpanderAddress.setOnClickListener(this); ivExpanderAddress.setOnClickListener(this);
@ -260,7 +260,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
private void unwire() { private void unwire() {
itemView.setOnClickListener(null); itemView.setOnClickListener(null);
if (viewType != ViewType.THREAD) if (viewType == ViewType.UNIFIED)
itemView.setOnLongClickListener(null); itemView.setOnLongClickListener(null);
ivExpanderAddress.setOnClickListener(null); ivExpanderAddress.setOnClickListener(null);

Loading…
Cancel
Save