From c8fd7038fb9fd428c27ad5a5d96e2585d544ef63 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Wed, 8 Mar 2023 17:20:52 -0800 Subject: [PATCH] refresh favorite button on potential state change --- ui/browsing/artistpage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/browsing/artistpage.go b/ui/browsing/artistpage.go index 90ec4f0..d4f03e4 100644 --- a/ui/browsing/artistpage.go +++ b/ui/browsing/artistpage.go @@ -156,6 +156,7 @@ func (a *ArtistPageHeader) Update(artist *subsonic.ArtistID3) { return } a.favoriteBtn.IsFavorited = !artist.Starred.IsZero() + a.favoriteBtn.Refresh() a.artistID = artist.ID a.titleDisp.Segments[0].(*widget.TextSegment).Text = artist.Name a.titleDisp.Refresh()