diff --git a/app/src/main/java/code/name/monkey/retromusic/repository/ArtistRepository.kt b/app/src/main/java/code/name/monkey/retromusic/repository/ArtistRepository.kt index 314d1331..907bf49c 100644 --- a/app/src/main/java/code/name/monkey/retromusic/repository/ArtistRepository.kt +++ b/app/src/main/java/code/name/monkey/retromusic/repository/ArtistRepository.kt @@ -90,7 +90,7 @@ class RealArtistRepository( .map { val currentAlbums = it.value if (albums.isNotEmpty()) { - Artist(currentAlbums[0].id, currentAlbums) + Artist(currentAlbums[0].artistId, currentAlbums) } else { Artist.empty }