From e8ecbfc91e14586783f52d4ec1aed51b9487647a Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 12 May 2022 08:38:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt b/app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt index 7daac0129..7b152e77c 100644 --- a/app/src/main/java/io/legado/app/ui/book/toc/ChapterListAdapter.kt +++ b/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() } - fun upDisplayTitle(startIndex: Int) { + fun upDisplayTitles(startIndex: Int) { upDisplayTileJob?.cancel() upDisplayTileJob = Coroutine.async(callback.scope) { val book = callback.book ?: return@async