mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
[skip ci] fix(TocActivity): 切换超长章节开关时目录没有更新
This commit is contained in:
parent
1aa05ad461
commit
fa56a1ee7b
@ -157,6 +157,7 @@ class TocActivity : VMBaseActivity<ActivityChapterListBinding, TocViewModel>(),
|
|||||||
waitDialog.show()
|
waitDialog.show()
|
||||||
viewModel.upBookTocRule(book) {
|
viewModel.upBookTocRule(book) {
|
||||||
waitDialog.dismiss()
|
waitDialog.dismiss()
|
||||||
|
viewModel.chapterListCallBack?.upChapterList(searchView?.query?.toString())
|
||||||
ReadBook.book?.let { readBook ->
|
ReadBook.book?.let { readBook ->
|
||||||
if (readBook == book) {
|
if (readBook == book) {
|
||||||
ReadBook.book = book
|
ReadBook.book = book
|
||||||
|
Loading…
Reference in New Issue
Block a user