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