mirror of https://github.com/koreader/koreader
CreDocument: fix document loading interferences (#4349)
When a main document is opened for displaying, some other document openings (for getting metadata or cover image) could affect the main document. Split some code from CreDocument:init() into another new method CreDocument:setupDefaultView(), that will only be called by ReaderUI when opening the main document (and not by these other openings like Book inforation, View cover...) Also speed up some of these other openings (Search, Screensaver) by using doc:loadDocument(false) to load only metadata and avoid parsing the HTML. Details in https://github.com/koreader/koreader/issues/4346#issuecomment-440036496pull/4352/head
parent
872c908a02
commit
85ac59ae00
@ -1 +1 @@
|
||||
Subproject commit 84299a585587f306230c448f80e4e4811f2f990d
|
||||
Subproject commit 461b750936897041c115f5de6c94eb9e0309a5ee
|
Loading…
Reference in New Issue