From 066be7bb8d29024b98f4f34419dddce3defe14ab Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sun, 28 May 2023 14:16:30 -0700 Subject: [PATCH] fix artist page favorite button state --- ui/browsing/artistpage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/browsing/artistpage.go b/ui/browsing/artistpage.go index 6fb2596..6a03606 100644 --- a/ui/browsing/artistpage.go +++ b/ui/browsing/artistpage.go @@ -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