diff --git a/app/src/main/java/io/legado/app/model/rss/RssParser.kt b/app/src/main/java/io/legado/app/model/rss/RssParser.kt index 4dde0eded..2a115ebd2 100644 --- a/app/src/main/java/io/legado/app/model/rss/RssParser.kt +++ b/app/src/main/java/io/legado/app/model/rss/RssParser.kt @@ -93,9 +93,8 @@ object RssParser { } eventType = xmlPullParser.next() } - articleList.reverse() for ((index: Int, item: RssArticle) in articleList.withIndex()) { - item.order = System.currentTimeMillis() + index + item.order = System.currentTimeMillis() - index if (index == 0) { Debug.log(sourceUrl, "┌获取标题") Debug.log(sourceUrl, "└${item.title}") 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 05cdc0daa..027228db0 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 @@ -29,9 +29,9 @@ object RssParserByRule { val articleList = mutableListOf() val analyzeRule = AnalyzeRule() analyzeRule.setContent(body, rssSource.sourceUrl) - var reverse = true + var reverse = false if (ruleArticles.startsWith("-")) { - reverse = false + reverse = true ruleArticles = ruleArticles.substring(1) } Debug.log(sourceUrl, "┌获取列表") @@ -55,7 +55,7 @@ object RssParserByRule { articleList.reverse() } for ((index: Int, item: RssArticle) in articleList.withIndex()) { - item.order = System.currentTimeMillis() + index + item.order = System.currentTimeMillis() - index } return articleList } diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png deleted file mode 100644 index 3395b0f61..000000000 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png deleted file mode 100644 index 2acbeea1c..000000000 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png deleted file mode 100644 index bbcfb61a3..000000000 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png deleted file mode 100644 index 9a126a90a..000000000 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png deleted file mode 100644 index ba2513cc6..000000000 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and /dev/null differ