Merge pull request #204 from bgaesslein/bugfix/fix-artist-image

Use artist ID for primary image in constructors
This commit is contained in:
dkanada 2022-02-14 14:40:04 +09:00 committed by GitHub
commit 458a8e2766
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {