From 931314f98424dd1ed297228b551c923a21eaa801 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 14 May 2020 19:54:35 +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/java/io/legado/app/help/SourceHelp.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cfc3f3b10..db3020824 100644 --- a/app/src/main/java/io/legado/app/help/SourceHelp.kt +++ b/app/src/main/java/io/legado/app/help/SourceHelp.kt @@ -21,7 +21,7 @@ object SourceHelp { fun insertRssSource(vararg rssSources: RssSource) { rssSources.forEach { rssSource -> - if (is18Plus(rssSource.sortUrl)) { + if (is18Plus(rssSource.sourceUrl)) { handler.post { App.INSTANCE.toast("${rssSource.sourceName}是18+网址,禁止导入.") }