mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user