1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +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
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);