From 38d546f4e07476c45dc8e310ad4e6ad6cf408f27 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 4 Mar 2022 10:33:43 +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 --- .../main/java/io/legado/app/api/controller/BookController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/api/controller/BookController.kt b/app/src/main/java/io/legado/app/api/controller/BookController.kt index 863308dc2..f237fc447 100644 --- a/app/src/main/java/io/legado/app/api/controller/BookController.kt +++ b/app/src/main/java/io/legado/app/api/controller/BookController.kt @@ -296,7 +296,7 @@ object BookController { val returnData = ReturnData() postData?.let { CacheManager.put("webReadConfig", postData) - } + } ?: CacheManager.delete("webReadConfig") return returnData.setData("") }