Separate the functions for creating a mediaItem from a Child object and from a Download object

This commit is contained in:
antonio committed 2023-03-12 16:34:38 +01:00
1 parent e3f088468c
commit e337c6faf2
15 files changed
+103 -141

No files matched your search

@@ -61,7 +61,7 @@ public class SongBottomSheetViewModel extends AndroidViewModel {
if (Preferences.isStarredSyncEnabled()) {
DownloadUtil.getDownloadTracker(context).download(
MappingUtil.mapMediaItem(song, false),
MappingUtil.mapDownload(song),
new Download(song)
);
}