Toggle flag on star key

This commit is contained in:
M66B 2020-12-11 14:09:51 +01:00
parent 85ae8ab5e7
commit 345e0b489d
1 changed files with 9 additions and 0 deletions

View File

@ -3165,6 +3165,15 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
return true;
}
return false;
case KeyEvent.KEYCODE_8:
if (event.isShiftPressed()) {
onToggleFlag(message);
return true;
} else
return false;
case KeyEvent.KEYCODE_NUMPAD_MULTIPLY:
onToggleFlag(message);
return true;
default:
return false;
}