Fix the bug where "Press" key does not open config menu on Kindle 4 NT (#3898)

pull/3900/head
Ruoyu Sun 6 years ago committed by Frans de Jonge
parent 9e4e71d630
commit 7f15b3a142

@ -12,7 +12,7 @@ local ReaderConfig = InputContainer:new{
function ReaderConfig:init()
if not self.dimen then self.dimen = Geom:new{} end
if Device:hasKeyboard() then
if Device:hasKeys() then
self.key_events = {
ShowConfigMenu = { {{"Press","AA"}}, doc = "show config dialog" },
}

Loading…
Cancel
Save