mirror of https://github.com/M66B/FairEmail.git
Long press unified inbox only
This commit is contained in:
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…
Reference in New Issue