mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Confirm images/HTML/link more options
This commit is contained in:
@@ -3886,6 +3886,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
full ? R.layout.dialog_show_full : R.layout.dialog_show_images, null);
|
||||
CheckBox cbNotAgain = dview.findViewById(R.id.cbNotAgain);
|
||||
CheckBox cbNotAgainDomain = dview.findViewById(R.id.cbNotAgainDomain);
|
||||
Button btnMore = dview.findViewById(R.id.btnMore);
|
||||
|
||||
if (message.from == null || message.from.length == 0) {
|
||||
cbNotAgain.setVisibility(View.GONE);
|
||||
@@ -3914,6 +3915,17 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
}
|
||||
});
|
||||
|
||||
btnMore.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent privacy = new Intent(v.getContext(), ActivitySetup.class)
|
||||
.setAction("privacy")
|
||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
.putExtra("tab", "privacy");
|
||||
v.getContext().startActivity(privacy);
|
||||
}
|
||||
});
|
||||
|
||||
if (full) {
|
||||
TextView tvDark = dview.findViewById(R.id.tvDark);
|
||||
CheckBox cbDark = dview.findViewById(R.id.cbDark);
|
||||
|
||||
Reference in New Issue
Block a user