diff --git a/res/bundled.go b/res/bundled.go index d284ce7..5852714 100644 --- a/res/bundled.go +++ b/res/bundled.go @@ -88,7 +88,7 @@ var ResFilterSvg = &fyne.StaticResource{ var ResBroadcastSvg = &fyne.StaticResource{ StaticName: "broadcast.svg", StaticContent: []byte( - "\n\n \n"), + "\n\n \n"), } var ResRepeatSvg = &fyne.StaticResource{ StaticName: "repeat.svg", diff --git a/res/icons/remix_design/broadcast.svg b/res/icons/remix_design/broadcast.svg index ff53661..724c40b 100644 --- a/res/icons/remix_design/broadcast.svg +++ b/res/icons/remix_design/broadcast.svg @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/ui/mainwindow.go b/ui/mainwindow.go index 99d56f7..7a896d5 100644 --- a/ui/mainwindow.go +++ b/ui/mainwindow.go @@ -273,7 +273,7 @@ func (m *MainWindow) addNavigationButtons() { m.BrowsingPane.AddNavigationButton(theme.TracksIcon, controller.Tracks, func() { m.Router.NavigateTo(controller.TracksRoute()) }) - m.radioBtn = m.BrowsingPane.AddNavigationButton(theme.TracksIcon /*todo*/, controller.Radios, func() { + m.radioBtn = m.BrowsingPane.AddNavigationButton(theme.RadioIcon, controller.Radios, func() { m.Router.NavigateTo(controller.RadiosRoute()) }) } diff --git a/ui/theme/theme.go b/ui/theme/theme.go index f2f93d9..0dab7ee 100644 --- a/ui/theme/theme.go +++ b/ui/theme/theme.go @@ -31,7 +31,7 @@ const ( var ( AlbumIcon fyne.Resource = theme.NewThemedResource(res.ResDiscSvg) ArtistIcon fyne.Resource = theme.NewThemedResource(res.ResPeopleSvg) - BroadcastIcon fyne.Resource = theme.NewThemedResource(res.ResBroadcastSvg) + RadioIcon fyne.Resource = theme.NewThemedResource(res.ResBroadcastSvg) FavoriteIcon fyne.Resource = theme.NewThemedResource(res.ResHeartFilledSvg) NotFavoriteIcon fyne.Resource = theme.NewThemedResource(res.ResHeartOutlineSvg) NowPlayingIcon fyne.Resource = theme.NewThemedResource(res.ResHeadphonesSvg) diff --git a/ui/widgets/tracklist.go b/ui/widgets/tracklist.go index 8fe39d5..14962f8 100644 --- a/ui/widgets/tracklist.go +++ b/ui/widgets/tracklist.go @@ -534,7 +534,7 @@ func (t *Tracklist) onShowContextMenu(e *fyne.PointEvent, trackIdx int) { t.songRadioMenuItem = fyne.NewMenuItem("Play song radio", func() { t.onPlaySongRadio(t.selectedTracks()) }) - t.songRadioMenuItem.Icon = myTheme.BroadcastIcon + t.songRadioMenuItem.Icon = myTheme.RadioIcon t.ctxMenu.Items = append(t.ctxMenu.Items, play, shuffle, playNext, add, t.songRadioMenuItem) }