mirror of https://github.com/M66B/FairEmail.git
Fixed Ctrrl/Alt key presses
This commit is contained in:
parent
9b3c11f052
commit
3b70a3788f
|
@ -3362,6 +3362,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (message == null)
|
||||
return false;
|
||||
|
||||
if (event.isCtrlPressed() || event.isAltPressed())
|
||||
return false;
|
||||
|
||||
switch (event.getKeyCode()) {
|
||||
case KeyEvent.KEYCODE_ENTER:
|
||||
case KeyEvent.KEYCODE_DPAD_CENTER:
|
||||
|
|
|
@ -5769,6 +5769,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED))
|
||||
return false;
|
||||
|
||||
if (event.isCtrlPressed() || event.isAltPressed())
|
||||
return false;
|
||||
|
||||
boolean up = (event.getAction() == ACTION_UP);
|
||||
boolean down = (event.getAction() == ACTION_DOWN);
|
||||
|
||||
|
|
Loading…
Reference in New Issue