Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed Nov 3, 2023
1 parent a6a416b commit 24f25f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
AppWebDav.getBookProgress(book)
?: throw NoStackTraceException("没有进度")
}.onError {
AppLog.put("拉取阅读进度失败", it)
AppLog.put("拉取阅读进度失败${book.name}", it)
}.onSuccess { progress ->
if (progress.durChapterIndex < book.durChapterIndex ||
(progress.durChapterIndex == book.durChapterIndex
Expand All @@ -226,7 +226,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
alertSync?.invoke(progress)
} else {
ReadBook.setProgress(progress)
AppLog.put("自动同步阅读进度成功")
AppLog.put("自动同步阅读进度成功${book.name}${progress.durChapterTitle}")
}
}

Expand Down

0 comments on commit 24f25f9

Please sign in to comment.