pull/1822/head
kunfei 3 years ago
parent 3bd220a99c
commit 5e56eb43d3
  1. 1
      app/src/main/java/io/legado/app/help/storage/AppWebDav.kt

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

Loading…
Cancel
Save