@ -100,6 +100,7 @@ class AudioPlayViewModel(application: Application) : BaseViewModel(application)
} else {
loadChapterList(book1) { upChangeDurChapterIndex(book1, oldTocSize, it) }
}
}.onFinally {
postEvent(EventBus.SOURCE_CHANGED, book1.bookUrl)
@ -169,6 +169,7 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
upChangeDurChapterIndex(newBook, oldTocSize, it)
postEvent(EventBus.SOURCE_CHANGED, newBook.bookUrl)
@ -209,6 +209,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {