From f9b2e7f7a806a636849e52a42098795de470cdb7 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 7 Sep 2019 12:04:36 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt b/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt index e5ee321e3..b3488d8b3 100644 --- a/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt @@ -45,7 +45,7 @@ interface ReplaceRuleDao { ) fun findEnabledByScope(name: String, origin: String): List - @Query("select `group` from replace_rules") + @Query("select `group` from replace_rules where `group` is not null and `group` <> ''") fun liveGroup(): LiveData> @Query("select * from replace_rules where `group` like '%' || :group || '%'")