Add re-fetch lyrics button (#163)

This commit is contained in:
vfsfitvnm
2022-08-03 10:53:24 +02:00
parent 939b674133
commit c6ee435eef
2 changed files with 67 additions and 50 deletions

View File

@@ -119,7 +119,7 @@ interface Database {
fun lyrics(songId: String): Flow<String?>
@Query("UPDATE Song SET lyrics = :lyrics WHERE id = :songId")
fun updateLyrics(songId: String, lyrics: String): Int
fun updateLyrics(songId: String, lyrics: String?): Int
@Query("SELECT * FROM Artist WHERE id = :id")
fun artist(id: String): Flow<Artist?>