优化目录界面

pull/1693/head
kunfei 3 years ago
parent 81558bdc90
commit d2a665bb1d
  1. 1
      app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt

@ -83,6 +83,7 @@ class TocActivity : VMBaseActivity<ActivityChapterListBinding, TocViewModel>() {
override fun onCompatOptionsItemSelected(item: MenuItem): Boolean {
when (item.itemId) {
R.id.menu_reverse_toc -> viewModel.reverseToc {
viewModel.chapterListCallBack?.clearDisplayTitle()
viewModel.chapterListCallBack?.upChapterList(searchView?.query?.toString())
setResult(RESULT_OK, Intent().apply {
putExtra("index", it.durChapterIndex)

Loading…
Cancel
Save