This commit is contained in:
Horis
2024-08-24 20:31:57 +08:00
parent f84d884bee
commit e94d41351c
@@ -265,7 +265,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
ReadBook.upMsg(null) ReadBook.upMsg(null)
ReadBook.loadContent(resetPageOffset = true) ReadBook.loadContent(resetPageOffset = true)
}.onError { }.onError {
context.toastOnUi("换源失败\n${it.localizedMessage}") AppLog.put("换源失败\n$it", it, true)
ReadBook.upMsg(null) ReadBook.upMsg(null)
}.onFinally { }.onFinally {
postEvent(EventBus.SOURCE_CHANGED, book.bookUrl) postEvent(EventBus.SOURCE_CHANGED, book.bookUrl)