Fix incorrect loading from #895

This commit is contained in:
thomas 2020-09-20 17:23:32 -04:00
parent 76e55ba079
commit 2ed5e236da

View file

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