Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Feb 22, 2022
1 parent 9e0e47c commit 4536837
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ class ChangeChapterSourceViewModel(application: Application) : BaseViewModel(app
if (book.tocUrl.isEmpty()) {
WebBook.getBookInfoAwait(this, source, book)
}
WebBook.getChapterListAwait(this, source, book)
val toc = WebBook.getChapterListAwait(this, source, book)
tocMap[book.bookUrl] = toc
toc
}
}.onSuccess {
success(it)
Expand Down

0 comments on commit 4536837

Please sign in to comment.