fix artist page favorite button state

This commit is contained in:
Drew Weymouth
2023-05-28 14:16:30 -07:00
parent 1908b03e73
commit 066be7bb8d
+1 -1
View File
@@ -277,7 +277,7 @@ func (a *ArtistPageHeader) Update(artist *mediaprovider.ArtistWithAlbums) {
if artist == nil {
return
}
a.favoriteBtn.IsFavorited = !artist.Favorite
a.favoriteBtn.IsFavorited = artist.Favorite
a.favoriteBtn.Refresh()
a.artistID = artist.ID
a.titleDisp.Segments[0].(*widget.TextSegment).Text = artist.Name