Skip to content

Commit 88c0934

Browse files
committed
Fixed uwp example, closes JohnnyCrazy#524
1 parent fb974fb commit 88c0934

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎SpotifyAPI.Web.Examples/Example.UWP/ViewModels/PlaylistsListViewModel.cs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ public class PlaylistsListViewModel : MvxViewModel<string>
1515
{
1616
private SpotifyClient _spotify;
1717

18-
private List<SimplePlaylist> _playlists;
19-
public List<SimplePlaylist> Playlists
18+
private IList<SimplePlaylist> _playlists;
19+
public IList<SimplePlaylist> Playlists
2020
{
2121
get => _playlists ?? (_playlists = new List<SimplePlaylist>());
2222
set => SetProperty(ref _playlists, value);
@@ -31,7 +31,7 @@ public override async Task Initialize()
3131
{
3232
await base.Initialize();
3333

34-
Playlists = await _spotify.PaginateAll(() => _spotify.Playlists.CurrentUsers());
34+
Playlists = await _spotify.PaginateAll(await _spotify.Playlists.CurrentUsers());
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)