From 16400443f7fc5d4f7b663f64d6ed0311a938f95a Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 5 Nov 2023 16:23:24 +0100 Subject: [PATCH] Restrict check HTML to debugging --- app/src/main/java/eu/faircode/email/ActivityCode.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/ActivityCode.java b/app/src/main/java/eu/faircode/email/ActivityCode.java index f7781306c2..881c7a064b 100644 --- a/app/src/main/java/eu/faircode/email/ActivityCode.java +++ b/app/src/main/java/eu/faircode/email/ActivityCode.java @@ -227,6 +227,7 @@ public class ActivityCode extends ActivityBase { menu.findItem(R.id.menu_lines).setChecked(lines); menu.findItem(R.id.menu_links).setChecked(links); + menu.findItem(R.id.menu_check_html).setVisible(BuildConfig.DEBUG || debug); return super.onPrepareOptionsMenu(menu); }