diff --git a/app/src/main/java/eu/faircode/email/ActivityCode.java b/app/src/main/java/eu/faircode/email/ActivityCode.java
index 1763d82897..5c19141ac5 100644
--- a/app/src/main/java/eu/faircode/email/ActivityCode.java
+++ b/app/src/main/java/eu/faircode/email/ActivityCode.java
@@ -116,7 +116,13 @@ public class ActivityCode extends ActivityBase {
menu.findItem(R.id.menu_sanitize)
.setVisible(BuildConfig.DEBUG || debug)
- .setChecked(sanitize);
+ .setChecked(sanitize)
+ .setIcon(sanitize
+ ? R.drawable.twotone_fullscreen_24
+ : R.drawable.twotone_fullscreen_exit_24)
+ .setTitle(getString(sanitize
+ ? R.string.title_legend_show_full
+ : R.string.title_legend_show_reformatted));
return super.onPrepareOptionsMenu(menu);
}
@@ -128,7 +134,7 @@ public class ActivityCode extends ActivityBase {
return true;
} else if (itemId == R.id.menu_sanitize) {
sanitize = !sanitize;
- item.setChecked(sanitize);
+ invalidateOptionsMenu();
load();
return true;
}
diff --git a/app/src/main/res/drawable/twotone_cleaning_services_24.xml b/app/src/main/res/drawable/twotone_cleaning_services_24.xml
deleted file mode 100644
index 13c7501478..0000000000
--- a/app/src/main/res/drawable/twotone_cleaning_services_24.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
diff --git a/app/src/main/res/menu/menu_code.xml b/app/src/main/res/menu/menu_code.xml
index 96e7ac0031..c49fc7df43 100644
--- a/app/src/main/res/menu/menu_code.xml
+++ b/app/src/main/res/menu/menu_code.xml
@@ -4,7 +4,7 @@
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 4e52f4c555..524301d5e7 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -2344,7 +2344,6 @@
Follow dark system theme
Google removed dark mode for Android versions before version 10
- Sanitize
Important