From 0261da0abbc8f6dc57e20471065d7ff2fdf3b6fd Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 15 Oct 2022 22:02:40 +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/ui/book/search/SearchScope.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/search/SearchScope.kt b/app/src/main/java/io/legado/app/ui/book/search/SearchScope.kt index 331161f09..fa2d100c3 100644 --- a/app/src/main/java/io/legado/app/ui/book/search/SearchScope.kt +++ b/app/src/main/java/io/legado/app/ui/book/search/SearchScope.kt @@ -71,7 +71,7 @@ data class SearchScope(private var scope: String) { } } else { scope.splitNotBlank(",").forEach { - list.addAll(appDb.bookSourceDao.getByGroup(it)) + list.addAll(appDb.bookSourceDao.getEnabledByGroup(it)) } } if (list.isEmpty()) {