mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
feat: added downloaded file title to notification
This commit is contained in:
parent
5c4a292542
commit
fc61308be5
4 changed files with 52 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue