This commit is contained in:
kunfei
2022-04-24 23:07:41 +08:00
parent 3bd220a99c
commit 5e56eb43d3

View File

@@ -199,6 +199,7 @@ object AppWebDav {
suspend fun downloadAllBookProgress() {
authorization ?: return
if (!NetworkUtils.isAvailable()) return
appDb.bookDao.all.forEach { book ->
getBookProgress(book)?.let { bookProgress ->
if (bookProgress.durChapterIndex > book.durChapterIndex