mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
Long press unified inbox only
This commit is contained in:
parent
77030633fe
commit
f7f26e5332
1 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|||
|
||||
private void wire() {
|
||||
itemView.setOnClickListener(this);
|
||||
if (viewType != ViewType.THREAD)
|
||||
if (viewType == ViewType.UNIFIED)
|
||||
itemView.setOnLongClickListener(this);
|
||||
|
||||
ivExpanderAddress.setOnClickListener(this);
|
||||
|
@ -260,7 +260,7 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|||
|
||||
private void unwire() {
|
||||
itemView.setOnClickListener(null);
|
||||
if (viewType != ViewType.THREAD)
|
||||
if (viewType == ViewType.UNIFIED)
|
||||
itemView.setOnLongClickListener(null);
|
||||
|
||||
ivExpanderAddress.setOnClickListener(null);
|
||||
|
|
Loading…
Reference in a new issue