Fixed volume navigation

This commit is contained in:
M66B 2020-03-21 11:56:11 +01:00
parent eda80a9f3f
commit 7b4ed05504
1 changed files with 2 additions and 2 deletions

View File

@ -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));