mirror of https://github.com/M66B/FairEmail.git
Fixed volume navigation
This commit is contained in:
parent
eda80a9f3f
commit
7b4ed05504
|
@ -4440,9 +4440,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
|
||||
switch (event.getKeyCode()) {
|
||||
case KeyEvent.KEYCODE_VOLUME_UP:
|
||||
return (!up || onNext(context));
|
||||
return onNext(context);
|
||||
case KeyEvent.KEYCODE_VOLUME_DOWN:
|
||||
return (!up || onPrevious(context));
|
||||
return onPrevious(context);
|
||||
case KeyEvent.KEYCODE_ENTER:
|
||||
case KeyEvent.KEYCODE_NUMPAD_ENTER:
|
||||
return (!up || onViewThread(context));
|
||||
|
|
Loading…
Reference in New Issue