mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Cleanup: Remove unused onAnyKeyPressed handlers
And simplify the few we do catch by using aliases instead of duplicated functions;).
This commit is contained in:
@@ -539,11 +539,6 @@ function FrontLightWidget:onShow()
|
||||
return true
|
||||
end
|
||||
|
||||
function FrontLightWidget:onAnyKeyPressed()
|
||||
UIManager:close(self)
|
||||
return true
|
||||
end
|
||||
|
||||
function FrontLightWidget:onClose()
|
||||
UIManager:close(self)
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user