diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java
index 969c8b0e..606b88e1 100644
--- a/app/src/main/java/eu/faircode/email/FragmentCompose.java
+++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java
@@ -423,6 +423,9 @@ public class FragmentCompose extends FragmentEx {
case R.id.menu_addresses:
onMenuAddresses();
return true;
+ case R.id.menu_encrypt:
+ onAction(R.id.menu_encrypt);
+ return true;
default:
return super.onOptionsItemSelected(item);
}
@@ -1371,7 +1374,7 @@ public class FragmentCompose extends FragmentEx {
Toast.makeText(context, R.string.title_draft_deleted, Toast.LENGTH_LONG).show();
}
});
- } else if (action == R.id.action_save || action == R.id.action_encrypt) {
+ } else if (action == R.id.action_save || action == R.id.menu_encrypt) {
db.message().updateMessage(draft);
draft.write(context, body);
@@ -1462,7 +1465,7 @@ public class FragmentCompose extends FragmentEx {
} else if (action == R.id.action_save) {
// Do nothing
- } else if (action == R.id.action_encrypt) {
+ } else if (action == R.id.menu_encrypt) {
onEncrypt();
} else if (action == R.id.action_send) {
diff --git a/app/src/main/res/menu/action_compose.xml b/app/src/main/res/menu/action_compose.xml
index 236169d8..83ee9356 100644
--- a/app/src/main/res/menu/action_compose.xml
+++ b/app/src/main/res/menu/action_compose.xml
@@ -11,11 +11,6 @@
android:icon="@drawable/baseline_save_alt_24"
android:title="@string/title_save" />
-
-
+
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 232e5cf2..f5eb58e0 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -182,7 +182,6 @@
Reply to all
Show headers
Show original
- Decrypt
Trash
Delete
@@ -212,7 +211,6 @@
Your message
Discard
Save
- Encrypt
Send
Clipboard empty
@@ -230,6 +228,8 @@
Draft saved
Sending message
+ Encrypt
+ Decrypt
OpenKeychain not found
Search