mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
the Back key on Android should close the popup window and menu
This commit is contained in:
@@ -70,7 +70,7 @@ function ReaderUI:init()
|
||||
self.dialog = self
|
||||
end
|
||||
|
||||
if Device:hasKeyboard() then
|
||||
if Device:hasKeys() then
|
||||
self.key_events.Back = {
|
||||
{ "Back" }, doc = "close document",
|
||||
event = "Close" }
|
||||
|
||||
Reference in New Issue
Block a user