mirror of https://github.com/M66B/FairEmail.git
Long click headers to share HTML
This commit is contained in:
parent
4ccfba2f76
commit
cc8b6a05d8
|
@ -943,6 +943,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
ibRule.setOnClickListener(this);
|
||||
ibUnsubscribe.setOnClickListener(this);
|
||||
ibHeaders.setOnClickListener(this);
|
||||
ibHeaders.setOnLongClickListener(this);
|
||||
ibPrint.setOnClickListener(this);
|
||||
ibPin.setOnClickListener(this);
|
||||
ibShare.setOnClickListener(this);
|
||||
|
@ -1045,6 +1046,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
ibRule.setOnClickListener(null);
|
||||
ibUnsubscribe.setOnClickListener(null);
|
||||
ibHeaders.setOnClickListener(null);
|
||||
ibHeaders.setOnLongClickListener(null);
|
||||
ibPrint.setOnClickListener(null);
|
||||
ibPin.setOnClickListener(null);
|
||||
ibShare.setOnClickListener(null);
|
||||
|
@ -3756,6 +3758,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
DeepL.FragmentDialogDeepL fragment = new DeepL.FragmentDialogDeepL();
|
||||
fragment.show(parentFragment.getParentFragmentManager(), "deepl:configure");
|
||||
return true;
|
||||
} else if (id == R.id.ibHeaders) {
|
||||
onMenuShareHtml(message);
|
||||
return true;
|
||||
} else if (id == R.id.ibFull) {
|
||||
boolean full = properties.getValue("full", message.id);
|
||||
if (!full) {
|
||||
|
|
Loading…
Reference in New Issue