From 68f186dedcb0cb847a82e29cbffcdac9745230f7 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 26 Sep 2022 16:03:26 +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 --- .../java/io/legado/app/help/source/BookSourceExtensions.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/help/source/BookSourceExtensions.kt b/app/src/main/java/io/legado/app/help/source/BookSourceExtensions.kt index 263af2d83..30e32e364 100644 --- a/app/src/main/java/io/legado/app/help/source/BookSourceExtensions.kt +++ b/app/src/main/java/io/legado/app/help/source/BookSourceExtensions.kt @@ -71,7 +71,8 @@ suspend fun BookSource.exploreKinds(): List { suspend fun BookSource.clearExploreKindsCache() { withContext(Dispatchers.IO) { - aCache.remove(bookSourceUrl) + val exploreKindsKey = getExploreKindsKey() + aCache.remove(exploreKindsKey) exploreKindsMap.remove(getExploreKindsKey()) } } \ No newline at end of file