Statistics main: annotations info methods

reviewable/pr11563/r21
hius07 3 weeks ago committed by GitHub
parent 86e722b8b0
commit 4c91114489
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -187,7 +187,7 @@ function ReaderStatistics:initData()
self.data.pages = self.document:getPageCount()
-- Update these numbers to what's actually stored in the settings
self.data.highlights, self.data.notes = self.ui.bookmark:getNumberOfHighlightsAndNotes()
self.data.highlights, self.data.notes = self.ui.annotation:getNumberOfHighlightsAndNotes()
self.id_curr_book = self:getIdBookDB()
self.book_read_pages, self.book_read_time = self:getPageTimeTotalStats(self.id_curr_book)
if self.book_read_pages > 0 then

Loading…
Cancel
Save