1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Fixed context menu

This commit is contained in:
M66B 2022-02-24 13:44:30 +01:00
parent 66675c0d1a
commit d3cea32918

View file

@ -117,7 +117,7 @@ public class EditTextCompose extends FixedEditText {
@Override @Override
public boolean onActionItemClicked(ActionMode mode, MenuItem item) { public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
if (item.getGroupId() == Menu.CATEGORY_ALTERNATIVE) { if (item.getGroupId() == Menu.CATEGORY_SECONDARY) {
int id = item.getItemId(); int id = item.getItemId();
if (id == R.string.title_undo) if (id == R.string.title_undo)
return EditTextCompose.super.onTextContextMenuItem(android.R.id.undo); return EditTextCompose.super.onTextContextMenuItem(android.R.id.undo);