tweaks to artists list

This commit is contained in:
Drew Weymouth
2023-01-15 11:39:46 -08:00
parent 760bab1ee3
commit 9ba66b3a70
2 changed files with 27 additions and 7 deletions
+3
View File
@@ -36,6 +36,9 @@ func NewArtistsPage(sm *backend.ServerManager, nav func(Route)) *ArtistsPage {
a.list = widgets.NewArtistGenrePlaylist(nil)
a.list.ShowAlbumCount = true
a.list.ShowTrackCount = false
a.list.OnNavTo = func(id string) {
nav(ArtistRoute(id))
}
a.buildContainer()
go a.loadAsync()
return a