use radio icon for image placeholder for radio stations

This commit is contained in:
Drew Weymouth
2024-06-01 17:42:40 -07:00
parent 61f8dd00ff
commit b7af1e716c
11 changed files with 40 additions and 49 deletions
+2
View File
@@ -125,9 +125,11 @@ func (n *LargeNowPlayingCard) Update(item mediaprovider.MediaItem) {
if tr, ok := item.(*mediaprovider.Track); ok {
n.rating.Rating = tr.Rating
n.favorite.Favorite = tr.Favorite
n.cover.PlaceholderIcon = myTheme.TracksIcon
} else {
n.rating.Rating = 0
n.favorite.Favorite = false
n.cover.PlaceholderIcon = myTheme.RadioIcon
}
n.Refresh()