From 7c54351b9f89d070f4faf64ebcf104d1406c5d59 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 21 Apr 2021 07:52:44 +0200 Subject: [PATCH] Allow clicking on plain text only text --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index ff84f23b7a..3906cbd97e 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -471,6 +471,15 @@ public class FragmentCompose extends FragmentBase { ibCcAdd.setOnClickListener(onPick); ibBccAdd.setOnClickListener(onPick); + tvPlainTextOnly.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Bundle args = new Bundle(); + args.putBoolean("force_dialog", true); + onAction(R.id.action_check, args, "force"); + } + }); + setZoom(); etBody.setInputContentListener(new EditTextCompose.IInputContentListener() {