pull/37/head
kunfei 5 years ago
parent 5a1ecaceb9
commit 91653a6150
  1. 4
      app/src/main/java/io/legado/app/model/rss/RssParserByRule.kt

@ -28,9 +28,9 @@ object RssParserByRule {
val articleList = mutableListOf<RssArticle>()
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)

Loading…
Cancel
Save