mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Statistics main: fix disabling for PIC documents (#14508)
This commit is contained in:
@@ -117,6 +117,7 @@ end
|
|||||||
|
|
||||||
function ReaderStatistics:init()
|
function ReaderStatistics:init()
|
||||||
if self.document and self.document.is_pic then
|
if self.document and self.document.is_pic then
|
||||||
|
self.settings = { is_enabled = false }
|
||||||
return -- disable in PIC documents
|
return -- disable in PIC documents
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user