This commit is contained in:
Horis committed 2023-02-05 20:27:02 +08:00
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