Confirm images/HTML/link more options

This commit is contained in:
M66B
2021-06-23 12:13:59 +02:00
parent 336192f1c7
commit 85e991dacd
6 changed files with 56 additions and 0 deletions

View File

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