mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
readermenu: move book status to info tab & minor cleanup
This commit is contained in:
@@ -171,12 +171,6 @@ function ReaderUI:init()
|
||||
view = self.view,
|
||||
ui = self
|
||||
}, true)
|
||||
-- history view
|
||||
self:registerModule("history", FileManagerHistory:new{
|
||||
dialog = self.dialog,
|
||||
menu = self.menu,
|
||||
ui = self,
|
||||
})
|
||||
-- frontlight controller
|
||||
if Device:hasFrontlight() then
|
||||
self:registerModule("frontlight", ReaderFrontLight:new{
|
||||
@@ -297,13 +291,17 @@ function ReaderUI:init()
|
||||
view = self.view,
|
||||
ui = self
|
||||
})
|
||||
|
||||
-- book status
|
||||
self:registerModule("status", ReaderStatus:new{
|
||||
ui = self,
|
||||
document = self.document,
|
||||
view = self.view,
|
||||
})
|
||||
|
||||
-- history view
|
||||
self:registerModule("history", FileManagerHistory:new{
|
||||
dialog = self.dialog,
|
||||
ui = self,
|
||||
})
|
||||
-- koreader plugins
|
||||
for _,plugin_module in ipairs(PluginLoader:loadPlugins()) do
|
||||
DEBUG("Loaded plugin", plugin_module.name, "at", plugin_module.path)
|
||||
|
||||
Reference in New Issue
Block a user