diff --git a/app/src/main/java/io/legado/app/help/storage/AppWebDav.kt b/app/src/main/java/io/legado/app/help/storage/AppWebDav.kt index 92ff580dc..9911a3c92 100644 --- a/app/src/main/java/io/legado/app/help/storage/AppWebDav.kt +++ b/app/src/main/java/io/legado/app/help/storage/AppWebDav.kt @@ -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