mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
committed by
Qingping Hou
parent
80cf111fcf
commit
cffb21f7be
@@ -24,8 +24,10 @@ function ReaderStatus:init()
|
||||
self.total_pages = self.document:getPageCount()
|
||||
self.ui.menu:registerToMainMenu(self)
|
||||
-- register event listener if enabled
|
||||
self.onEndOfBook = function()
|
||||
self:showStatus()
|
||||
if G_reader_settings:nilOrTrue("auto_book_status") then
|
||||
self.onEndOfBook = function()
|
||||
self:showStatus()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user