mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
rename ReaderMenu:addToMainMenuCallback to registerToMainMenu
since we are actully inserting widgets, not callbacks
This commit is contained in:
@@ -49,6 +49,10 @@ ReaderZooming = InputContainer:new{
|
||||
rotation = 0
|
||||
}
|
||||
|
||||
function ReaderZooming:init()
|
||||
self.ui.menu:registerToMainMenu(self)
|
||||
end
|
||||
|
||||
function ReaderZooming:onReadSettings(config)
|
||||
-- @TODO config file from old code base uses globalzoom_mode
|
||||
-- instead of zoom_mode, we need to handle this imcompatibility
|
||||
|
||||
Reference in New Issue
Block a user