From b569bd5bd6223948354355a6f41d2f86c43abf0a Mon Sep 17 00:00:00 2001 From: abs3nt Date: Tue, 25 Jul 2023 21:35:38 -0700 Subject: [PATCH] uncomment --- src/tui/views.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/tui/views.go b/src/tui/views.go index 0723e45..ed839f6 100644 --- a/src/tui/views.go +++ b/src/tui/views.go @@ -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 {