From 91653a61504ab06aaa9bf18f89eef4792e0f4bf4 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 8 Oct 2019 15:08:54 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt b/app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt index f2dfa547d..ba21a4a6c 100644 --- a/app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt +++ b/app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt @@ -28,9 +28,9 @@ object RssParserByRule { val articleList = mutableListOf() val analyzeRule = AnalyzeRule() analyzeRule.setContent(xml) - var reverse = false + var reverse = true if (ruleArticles.startsWith("-")) { - reverse = true + reverse = false ruleArticles = ruleArticles.substring(1) } val collections = analyzeRule.getElements(ruleArticles)