mirror of
https://github.com/gedoor/legado.git
synced 2024-07-04 23:36:56 +08:00
优化
This commit is contained in:
parent
143f3e6e1d
commit
3800db5a4b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user