diff --git a/app/src/main/java/io/legado/app/ui/book/chapterlist/ChapterListFragment.kt b/app/src/main/java/io/legado/app/ui/book/chapterlist/ChapterListFragment.kt index 9e9b5c813..51c8b8096 100644 --- a/app/src/main/java/io/legado/app/ui/book/chapterlist/ChapterListFragment.kt +++ b/app/src/main/java/io/legado/app/ui/book/chapterlist/ChapterListFragment.kt @@ -103,7 +103,7 @@ class ChapterListFragment : VMBaseFragment(R.layout.fragme book?.bookUrl?.let { bookUrl -> if (chapter.bookUrl == bookUrl) { adapter.cacheFileNames.add(BookHelp.formatChapterName(chapter)) - adapter.notifyItemRangeChanged(0, adapter.getActualItemCount(), true) + adapter.notifyItemChanged(chapter.index, true) } } }