Commit 5590c3b1 authored by Axelander's avatar Axelander

Fixed updating track list for PlaybackViewModel

parent b0669f02
......@@ -219,6 +219,7 @@ namespace SonicStreamer.Common.System
{
var playbackVm = new PlaybackViewModel();
ResourceLoader.Current.GetResource(ref playbackVm, Constants.ViewModelPlayback);
playbackVm.PlaybackTracks.Clear();
var currentItems = Playback.ShuffleEnabled ? Playback.ShuffledItems.ToList() : Playback.Items.ToList();
foreach (var item in currentItems)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment