Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44b4984f authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #1717 from jonas-lundqvist/messagebrowse

Enable directional pads for next/previous message
parents e2f57198 c06721f9
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -727,6 +727,18 @@ public class MessageList extends K9Activity implements MessageListFragmentListen
                toast.show();
                toast.show();
                return true;
                return true;
            }
            }
            case KeyEvent.KEYCODE_DPAD_LEFT: {
                if (mMessageViewFragment != null && mDisplayMode == DisplayMode.MESSAGE_VIEW) {
                    return showPreviousMessage();
                }
                return false;
            }
            case KeyEvent.KEYCODE_DPAD_RIGHT: {
                if (mMessageViewFragment != null && mDisplayMode == DisplayMode.MESSAGE_VIEW) {
                    return showNextMessage();
                }
                return false;
            }


        }
        }