Change playing icon color for current track

Make the Play icon easier to spot within the playing queue, by using the
primary color for the current theme.

Fixes #184
This commit is contained in:
Michael Manganiello
2023-07-02 20:45:06 -07:00
committed by Drew Weymouth
parent 3d0e527b06
commit a8d1380b48
+5 -1
View File
@@ -123,7 +123,11 @@ func NewTracklist(tracks []*mediaprovider.Track) *Tracklist {
t.OnColumnVisibilityMenuShown(pop)
}
}
playingIcon := container.NewCenter(container.NewHBox(util.NewHSpace(2), widget.NewIcon(theme.MediaPlayIcon())))
playIcon := theme.NewThemedResource(theme.MediaPlayIcon())
playIcon.ColorName = theme.ColorNamePrimary
playingIcon := container.NewCenter(container.NewHBox(util.NewHSpace(2), widget.NewIcon(playIcon)))
t.list = widget.NewList(
t.lenTracks,
func() fyne.CanvasObject {