From efd8efad85d4bf228d62735fe8ce076c80d9497d Mon Sep 17 00:00:00 2001 From: Xwite <82232510+Xwite@users.noreply.github.com> Date: Tue, 1 Nov 2022 14:21:28 +0800 Subject: [PATCH] Update RssSourceDao.kt --- app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt b/app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt index cf91fdfad..fa11d3e8b 100644 --- a/app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/RssSourceDao.kt @@ -17,7 +17,7 @@ interface RssSourceDao { @Query("select * from rssSources where sourceUrl in (:sourceUrls)") fun getRssSources(vararg sourceUrls: String): List - @get:Query("SELECT * FROM rssSources") + @get:Query("SELECT * FROM rssSources order by customOrder") val all: List @get:Query("select count(sourceUrl) from rssSources") @@ -135,4 +135,4 @@ interface RssSourceDao { dealGroups(list) } } -} \ No newline at end of file +}