Merge pull request #355 from adamantike/misc/migrate-artists-page-to-gridview

misc: Migrate Artists page to GridView
This commit is contained in:
Drew Weymouth
2024-03-31 08:06:07 -07:00
committed by GitHub
12 changed files with 254 additions and 220 deletions
+3
View File
@@ -220,6 +220,9 @@ func (m *Controller) ConnectArtistGridActions(grid *widgets.GridView) {
m.ShowDownloadDialog(tracks, artist.Name)
}()
}
grid.OnShare = func(artistID string) {
go m.ShowShareDialog(artistID)
}
}
func (m *Controller) GetArtistTracks(artistID string) []*mediaprovider.Track {