diff --git a/app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt b/app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt index e937a3176..0dc596cb6 100644 --- a/app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt @@ -92,6 +92,7 @@ class TocActivity : VMBaseActivity() { R.id.menu_use_replace -> { AppConfig.tocUiUseReplace = !item.isChecked viewModel.chapterListCallBack?.clearDisplayTitle() + viewModel.chapterListCallBack?.upChapterList(searchView?.query?.toString()) } R.id.menu_log -> showDialogFragment() }