优化
This commit is contained in:
1 parent
c26e614ce0
commit
832a85eb70
1 file changed
+2
-1
@@ -311,6 +311,7 @@ class EpubFile(var book: Book) {
|
||||
) {
|
||||
val contents = epubBook?.contents
|
||||
if (epubBook == null || contents == null || refs == null) return
|
||||
val firstRef = refs.firstOrNull { it.resource != null } ?: return
|
||||
var i = 0
|
||||
durIndex = 0
|
||||