pull/1876/head^2
kunfei 3 years ago
parent b7b114881d
commit e8ecbfc91e
  1. 2
      app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt

@ -68,7 +68,7 @@ class ChapterListAdapter(context: Context, val callback: Callback) :
displayTitleMap.clear() displayTitleMap.clear()
} }
fun upDisplayTitle(startIndex: Int) { fun upDisplayTitles(startIndex: Int) {
upDisplayTileJob?.cancel() upDisplayTileJob?.cancel()
upDisplayTileJob = Coroutine.async(callback.scope) { upDisplayTileJob = Coroutine.async(callback.scope) {
val book = callback.book ?: return@async val book = callback.book ?: return@async

Loading…
Cancel
Save