uncomment

This commit is contained in:
abs3nt 2023-07-25 21:35:38 -07:00
parent e05573c2cf
commit b569bd5bd6
Signed by: abs3nt
GPG Key ID: FDC6662313FA9386

View File

@ -251,25 +251,25 @@ func MainView(ctx *gctx.Context, commands *commands.Commands) ([]list.Item, erro
var artists *spotify.FullArtistCursorPage
var albums *spotify.SavedAlbumPage
// wg.Go(func() (err error) {
// saved_items, err = commands.TrackList(ctx, 1)
// return
// })
wg.Go(func() (err error) {
saved_items, err = commands.TrackList(ctx, 1)
return
})
wg.Go(func() (err error) {
playlists, err = commands.Playlists(ctx, 1)
return
})
// wg.Go(func() (err error) {
// artists, err = commands.UserArtists(ctx, 1)
// return
// })
//
// wg.Go(func() (err error) {
// albums, err = commands.UserAlbums(ctx, 1)
// return
// })
wg.Go(func() (err error) {
artists, err = commands.UserArtists(ctx, 1)
return
})
wg.Go(func() (err error) {
albums, err = commands.UserAlbums(ctx, 1)
return
})
err := wg.Wait()
if err != nil {