mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
test: fix readerbookmark unit test
This commit is contained in:
@@ -38,14 +38,14 @@ function ReaderStatus:addToMainMenu(tab_item_table)
|
||||
end
|
||||
|
||||
function ReaderStatus:showStatus()
|
||||
local statusWidget = StatusWidget:new {
|
||||
local status_page = status_page:new {
|
||||
thumbnail = self.document:getCoverPageImage(),
|
||||
props = self.document:getProps(),
|
||||
document = self.document,
|
||||
settings = self.settings,
|
||||
view = self.view,
|
||||
}
|
||||
UIManager:show(statusWidget)
|
||||
UIManager:show(status_page)
|
||||
end
|
||||
|
||||
function ReaderStatus:onPageUpdate(pageno)
|
||||
@@ -66,4 +66,3 @@ function ReaderStatus:onReadSettings(config)
|
||||
end
|
||||
|
||||
return ReaderStatus
|
||||
|
||||
|
||||
Reference in New Issue
Block a user