From d3cea32918c746598b49942261c1cfd41891b9ac Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 24 Feb 2022 13:44:30 +0100 Subject: [PATCH] Fixed context menu --- app/src/main/java/eu/faircode/email/EditTextCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/EditTextCompose.java b/app/src/main/java/eu/faircode/email/EditTextCompose.java index 7a5b239b0f..42c1c12d0a 100644 --- a/app/src/main/java/eu/faircode/email/EditTextCompose.java +++ b/app/src/main/java/eu/faircode/email/EditTextCompose.java @@ -117,7 +117,7 @@ public class EditTextCompose extends FixedEditText { @Override public boolean onActionItemClicked(ActionMode mode, MenuItem item) { - if (item.getGroupId() == Menu.CATEGORY_ALTERNATIVE) { + if (item.getGroupId() == Menu.CATEGORY_SECONDARY) { int id = item.getItemId(); if (id == R.string.title_undo) return EditTextCompose.super.onTextContextMenuItem(android.R.id.undo);