mirror of
https://github.com/koreader/koreader.git
synced 2025-12-24 12:14:05 +01:00
refactor: use new KeyValuePage widget for displaying statistics
This commit is contained in:
@@ -31,9 +31,10 @@ function PdfDocument:init()
|
||||
else
|
||||
self:_readMetadata()
|
||||
end
|
||||
if not (self.info.number_of_pages > 0) then
|
||||
-- TODO: handle this
|
||||
-- if not (self.info.number_of_pages > 0) then
|
||||
--error("No page found in PDF file")
|
||||
end
|
||||
-- end
|
||||
end
|
||||
|
||||
function PdfDocument:unlock(password)
|
||||
|
||||
Reference in New Issue
Block a user