Refactor Primary image

This commit is contained in:
CappielloAntonio 2022-02-07 17:30:33 +01:00
parent cd4ca167c6
commit 078302c859

View file

@ -59,7 +59,7 @@ public class DiscoverSongAdapter extends RecyclerView.Adapter<DiscoverSongAdapte
holder.textAlbum.setText(MusicUtil.getReadableString(song.getAlbumName()));
CustomGlideRequest.Builder
.from(context, song.getPrimary(), CustomGlideRequest.SONG_PIC, null)
.from(context, song.getCoverArtId(), CustomGlideRequest.SONG_PIC, null)
.build()
.into(holder.cover);
}