mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-17 20:20:50 +01:00
Updated Search2 Artist result to use Index instead of Artist
(As needed for listing the Artist's albums afterwards)
This commit is contained in:
parent
c81c685800
commit
6bfd06c6a0
@ -13,7 +13,7 @@ fun APISearchResult.toDomainEntity(): SearchResult = SearchResult(
|
|||||||
)
|
)
|
||||||
|
|
||||||
fun SearchTwoResult.toDomainEntity(): SearchResult = SearchResult(
|
fun SearchTwoResult.toDomainEntity(): SearchResult = SearchResult(
|
||||||
this.artistList.map { it.toDomainEntity() },
|
this.artistList.map { it.toIndexEntity() },
|
||||||
this.albumList.map { it.toDomainEntity() },
|
this.albumList.map { it.toDomainEntity() },
|
||||||
this.songList.map { it.toTrackEntity() }
|
this.songList.map { it.toTrackEntity() }
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user