Fix incorrect loading from #895
This commit is contained in:
parent
76e55ba079
commit
2ed5e236da
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue