From adc8ddc4f352b3ffa10eb8433c8f8d1c7f4ef014 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 14 May 2020 19:25:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/assets/updateLog.md | 2 +- app/src/main/java/io/legado/app/help/SourceHelp.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index 143754017..8570a3d5e 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -4,7 +4,7 @@ * 新公众号[开源阅读]()已启用,[开源阅读软件]()备用 **2020/05/14** -* 导入订阅源时添加18+过滤 +* 导入订阅源时添加18+过滤,刚添加这个功能屏蔽列表不全,会慢慢完善吧 **2020/05/10** * 添加识别rss分组中的频道信息,在菜单中可以切换频道 from yangyxd diff --git a/app/src/main/java/io/legado/app/help/SourceHelp.kt b/app/src/main/java/io/legado/app/help/SourceHelp.kt index a995d07b9..14f06c55c 100644 --- a/app/src/main/java/io/legado/app/help/SourceHelp.kt +++ b/app/src/main/java/io/legado/app/help/SourceHelp.kt @@ -37,6 +37,7 @@ object SourceHelp { private fun is18Plus(url: String?): Boolean { url ?: return false + if (AppConfig.isGooglePlay) return false list18Plus.forEach { if (url.contains(it)) { return true