diff --git a/Core/QueuePlayer/PlayerItemInfo.swift b/Core/QueuePlayer/PlayerItemInfo.swift index 420a8351..02fd6e70 100644 --- a/Core/QueuePlayer/PlayerItemInfo.swift +++ b/Core/QueuePlayer/PlayerItemInfo.swift @@ -25,10 +25,8 @@ public struct PlayerItemInfo { public init(title: String, artist: String, image: UIImage?) { self.title = title self.artist = artist - if let image { - artwork = MPMediaItemArtwork(boundsSize: image.size) { _ in image } - } else { - artwork = nil + artwork = (image ?? UIImage(named: "AppIcon")).map { image in + MPMediaItemArtwork(boundsSize: image.size) { _ in image } } }