From 0c411795cf3a764e5f7ac588b2d1444bc51cc285 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 26 Oct 2019 18:51:12 +0800 Subject: [PATCH] up --- .../io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt | 2 ++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt b/app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt index a27b81025..5ee6a3e45 100644 --- a/app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt @@ -111,6 +111,7 @@ class RssSourceEditActivity : add(EditEntity("sourceIcon", rssSource?.sourceIcon, R.string.rss_source_icon)) add(EditEntity("sourceGroup", rssSource?.sourceGroup, R.string.rss_source_group)) add(EditEntity("ruleArticles", rssSource?.ruleArticles, R.string.rss_rule_articles)) + add(EditEntity("ruleNextPage", rssSource?.ruleNextPage, R.string.rss_rule_next)) add(EditEntity("ruleTitle", rssSource?.ruleTitle, R.string.rss_rule_title)) add(EditEntity("rulePubDate", rssSource?.rulePubDate, R.string.rss_rule_date)) add( @@ -146,6 +147,7 @@ class RssSourceEditActivity : "sourceIcon" -> source.sourceIcon = it.value ?: "" "sourceGroup" -> source.sourceGroup = it.value "ruleArticles" -> source.ruleArticles = it.value + "ruleNextPage" -> source.ruleNextPage = it.value "ruleTitle" -> source.ruleTitle = it.value "rulePubDate" -> source.rulePubDate = it.value "ruleCategories" -> source.ruleCategories = it.value diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a341fb075..b9d9f260a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -385,6 +385,7 @@ 图标(sourceIcon) 分组(sourceGroup) 列表规则(ruleArticles) + 列表下一页规则(ruleArticles) 标题规则(ruleTitle) 作者规则(ruleAuthor) guid规则(ruleGuid)