1
0
Fork 0
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:
M66B 2018-11-22 18:48:18 +01:00
parent 77030633fe
commit f7f26e5332

View file

@ -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);