the Back key on Android should close the popup window and menu
This commit is contained in:
1 parent
613c66aa73
commit
e624695d54
14 files changed
+39
-21
No files matched your search
@@ -43,9 +43,10 @@ function ReaderMenu:init()
|
||||
}
|
||||
self.registered_widgets = {}
|
||||
|
||||
if Device:hasKeyboard() then
|
||||
if Device:hasKeys() then
|
||||
self.key_events = {
|
||||
ShowReaderMenu = { { "Menu" }, doc = "show menu" },
|
||||
Close = { { "Back" }, doc = "close menu" },
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user