Horis пре 2 година
родитељ
комит
fae5134266

+ 2 - 1
app/src/main/java/io/legado/app/ui/book/read/page/AutoPager.kt

@@ -48,6 +48,7 @@ class AutoPager(private val readView: ReadView) {
         readView.curPage.upSelectAble(AppConfig.textSelectAble)
         readView.invalidate()
         reset()
+        picture = null
     }
 
     fun pause() {
@@ -143,4 +144,4 @@ class AutoPager(private val readView: ReadView) {
         }
     }
 
-}
+}

+ 0 - 4
app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt

@@ -537,10 +537,6 @@ class ReadView(context: Context, attrs: AttributeSet) :
         if (isScroll && !isAutoPage) {
             curPage.setContent(pageFactory.curPage, resetPageOffset)
         } else {
-//            if (isAutoPage && relativePosition >= 0) {
-////                clearNextPageBitmap()
-//                autoPager.clear()
-//            }
             when (relativePosition) {
                 -1 -> prevPage.setContent(pageFactory.prevPage)
                 1 -> nextPage.setContent(pageFactory.nextPage)