Queue, Favorites, Providers, Now playing
This commit is contained in:
@@ -213,6 +213,15 @@ struct ArtistGridItem: View {
|
||||
}
|
||||
.aspectRatio(1, contentMode: .fit)
|
||||
.clipShape(Circle())
|
||||
.overlay(alignment: .bottomTrailing) {
|
||||
if service.libraryManager.isFavorite(uri: artist.uri) {
|
||||
Image(systemName: "heart.fill")
|
||||
.font(.system(size: 12))
|
||||
.foregroundStyle(.red)
|
||||
.padding(4)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Text(artist.name)
|
||||
.font(.caption)
|
||||
|
||||
Reference in New Issue
Block a user