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

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

View file

@ -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)
);
}