Horis 2 жил өмнө
parent
commit
24dad5c991

+ 3 - 0
app/src/main/java/io/legado/app/model/ReadBook.kt

@@ -300,6 +300,9 @@ object ReadBook : CoroutineScope by MainScope() {
     }
 
     fun recycleRecorders(beforeIndex: Int, afterIndex: Int) {
+        if (!AppConfig.optimizeRender) {
+            return
+        }
         executor.execute {
             val textChapter = curTextChapter ?: return@execute
             if (afterIndex > beforeIndex) {