Skip to content

Commit

Permalink
fix #231
Browse files Browse the repository at this point in the history
  • Loading branch information
theweavr committed Dec 20, 2017
1 parent 35c1429 commit 51916f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BreadPlayer.Views.UWP/Views/LibraryView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ protected override void OnNavigatedTo(NavigationEventArgs e)
LibVM.MusicLibraryLoaded += async (s, a) =>
{
var pVm = App.Current.Resources["PlaylistsCollectionVM"];
var albumArtistVM = (Application.Current.Resources["AlbumArtistVM"] as AlbumArtistViewModel);
await albumArtistVM.ArtistsCollection.RefreshAsync().ConfigureAwait(false);
await albumArtistVM.AlbumCollection.RefreshAsync().ConfigureAwait(false);
//var albumArtistVM = (Application.Current.Resources["AlbumArtistVM"] as AlbumArtistViewModel);
//await albumArtistVM.ArtistsCollection.RefreshAsync().ConfigureAwait(false);
//await albumArtistVM.AlbumCollection.RefreshAsync().ConfigureAwait(false);
};
}
private void fileBox_DragOver(object sender, DragEventArgs e)
Expand Down

0 comments on commit 51916f5

Please sign in to comment.