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 {
|
.map {
|
||||||
val currentAlbums = it.value
|
val currentAlbums = it.value
|
||||||
if (albums.isNotEmpty()) {
|
if (albums.isNotEmpty()) {
|
||||||
Artist(currentAlbums[0].id, currentAlbums)
|
Artist(currentAlbums[0].artistId, currentAlbums)
|
||||||
} else {
|
} else {
|
||||||
Artist.empty
|
Artist.empty
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue