优化
This commit is contained in:
@@ -300,6 +300,9 @@ object ReadBook : CoroutineScope by MainScope() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun recycleRecorders(beforeIndex: Int, afterIndex: Int) {
|
fun recycleRecorders(beforeIndex: Int, afterIndex: Int) {
|
||||||
|
if (!AppConfig.optimizeRender) {
|
||||||
|
return
|
||||||
|
}
|
||||||
executor.execute {
|
executor.execute {
|
||||||
val textChapter = curTextChapter ?: return@execute
|
val textChapter = curTextChapter ?: return@execute
|
||||||
if (afterIndex > beforeIndex) {
|
if (afterIndex > beforeIndex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user