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 +}