Horis %!s(int64=2) %!d(string=hai) anos
pai
achega
ee67378ab0
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      app/src/main/java/io/legado/app/model/ReadBook.kt

+ 5 - 1
app/src/main/java/io/legado/app/model/ReadBook.kt

@@ -560,7 +560,11 @@ object ReadBook : CoroutineScope by MainScope() {
                         }
                         callBack?.onLayoutPageCompleted(index, page)
                     }
-                    if (upContent) callBack?.upContent(offset, false)
+                    if (upContent) callBack?.upContent(offset, !available && resetPageOffset)
+                    if (!available) {
+                        curPageChanged()
+                        callBack?.contentLoadFinish()
+                    }
                 }
 
                 -1 -> {