mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Statistics: Also skip hidden flows stuff in continuous mode (#11284)
Followup to #11279
This commit is contained in:
@@ -1618,7 +1618,7 @@ function ReaderStatistics:getCurrentStat()
|
||||
local total_pages
|
||||
local page_progress_string
|
||||
local percent_read
|
||||
if (self.document:hasHiddenFlows()) then
|
||||
if self.document:hasHiddenFlows() and self.view.state.page then
|
||||
local flow = self.document:getPageFlow(self.view.state.page)
|
||||
current_page = self.document:getPageNumberInFlow(self.view.state.page)
|
||||
total_pages = self.document:getTotalPagesInFlow(flow)
|
||||
|
||||
Reference in New Issue
Block a user