Merge pull request #204 from bgaesslein/bugfix/fix-artist-image
Use artist ID for primary image in constructors
This commit is contained in:
commit
458a8e2766
1 changed files with 2 additions and 0 deletions
|
|
@ -46,11 +46,13 @@ public class Artist implements Parcelable {
|
|||
public Artist(Album album) {
|
||||
this.id = album.artistId;
|
||||
this.name = album.artistName;
|
||||
this.primary = this.id;
|
||||
}
|
||||
|
||||
public Artist(Song song) {
|
||||
this.id = song.artistId;
|
||||
this.name = song.artistName;
|
||||
this.primary = this.id;
|
||||
}
|
||||
|
||||
public Artist() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue