From 5e56eb43d34cfa4a66eda96f4eb5ecb3d599e27a Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 24 Apr 2022 23:07:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/storage/AppWebDav.kt | 1 + 1 file changed, 1 insertion(+) 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