Skip to content

Commit

Permalink
[feature|optimize] Support set nickname for files in Media Library ro…
Browse files Browse the repository at this point in the history
…ot directory; support favorite article in reading page; optimize Media Library implementation; optimize video title display logic
  • Loading branch information
SkyD666 committed Dec 7, 2024
1 parent 2c4ced7 commit 9881815
Show file tree
Hide file tree
Showing 25 changed files with 472 additions and 271 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {
minSdk = 24
targetSdk = 35
versionCode = 24
versionName = "2.1-beta14"
versionName = "2.1-beta15"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

Expand Down
9 changes: 9 additions & 0 deletions app/src/main/java/com/skyd/anivu/model/db/dao/ArticleDao.kt
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,15 @@ interface ArticleDao {
)
fun getArticleWithEnclosures(articleId: String): Flow<ArticleWithEnclosureBean?>

@Transaction
@Query(
"""
SELECT * FROM $ARTICLE_TABLE_NAME
WHERE ${ArticleBean.ARTICLE_ID_COLUMN} LIKE :articleId
"""
)
fun getArticleWithFeed(articleId: String): Flow<ArticleWithFeed?>

@RewriteQueriesToDropUnusedColumns
@Query(
"""
Expand Down
Loading

0 comments on commit 9881815

Please sign in to comment.