Updated SongEntity to Song
This commit is contained in:
parent
a93dcb0285
commit
bcb8f1b42b
6 changed files with 64 additions and 10 deletions
|
@ -53,9 +53,7 @@ class AddToRetroPlaylist : DialogFragment() {
|
|||
}
|
||||
|
||||
private fun List<Song>.withPlaylistIds(playlistEntity: PlaylistEntity): List<SongEntity> {
|
||||
val songEntities = map {
|
||||
SongEntity(it.id, playlistEntity.playListId)
|
||||
return map {
|
||||
it.toSongEntity(playlistEntity.playListId)
|
||||
}
|
||||
println(songEntities.size)
|
||||
return songEntities
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue