Fixed double volume navigation

This commit is contained in:
M66B 2020-07-28 10:57:51 +02:00
parent 7774e1e181
commit 67404ca0bc
1 changed files with 2 additions and 2 deletions

View File

@ -4869,9 +4869,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
switch (event.getKeyCode()) {
case KeyEvent.KEYCODE_VOLUME_UP:
return (volumenav && onNext(context));
return (down && volumenav && onNext(context));
case KeyEvent.KEYCODE_VOLUME_DOWN:
return (volumenav && onPrevious(context));
return (down && volumenav && onPrevious(context));
case KeyEvent.KEYCODE_A:
if (viewType == AdapterMessage.ViewType.THREAD)
return (up && onArchive(context));