mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
decouple UI definitions from document modules
This commit is contained in:
committed by
Frans de Jonge
parent
02eca23649
commit
9e57e56f95
@@ -197,10 +197,10 @@ function ReaderUI:init()
|
||||
-- config panel controller
|
||||
self:registerModule("config", ReaderConfig:new{
|
||||
configurable = self.document.configurable,
|
||||
options = self.document.options,
|
||||
dialog = self.dialog,
|
||||
view = self.view,
|
||||
ui = self
|
||||
ui = self,
|
||||
document = self.document,
|
||||
})
|
||||
if self.document.info.has_pages then
|
||||
-- kopt option controller
|
||||
|
||||
Reference in New Issue
Block a user