feat: added downloaded file title to notification

This commit is contained in:
antonio 2023-08-03 07:22:28 +02:00
parent 5c4a292542
commit fc61308be5
4 changed files with 52 additions and 3 deletions

View file

@ -15,6 +15,9 @@ public interface DownloadDao {
@Query("SELECT * FROM download WHERE download_state = 1 ORDER BY artist, album, track ASC")
LiveData<List<Download>> getAll();
@Query("SELECT * FROM download WHERE id = :id")
Download getOne(String id);
@Insert(onConflict = OnConflictStrategy.REPLACE)
void insert(Download download);