Fixed PlaylistDetailViewModels's "Playlist" object not properly synchronizing (events, locking) to the playlist manager's current playlist at constructor time.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace Harmonia.Core.Player;
|
||||
|
||||
public class PlaylistChangedEventArgs(Playlist? oldPlaylist, Playlist? newPlaylist) : EventArgs
|
||||
{
|
||||
public Playlist? OldPlaylist { get; } = oldPlaylist;
|
||||
public Playlist? NewPlaylist { get; } = newPlaylist;
|
||||
}
|
||||
//public class PlaylistChangedEventArgs(Playlist? oldPlaylist, Playlist? newPlaylist) : EventArgs
|
||||
//{
|
||||
// public Playlist? OldPlaylist { get; } = oldPlaylist;
|
||||
// public Playlist? NewPlaylist { get; } = newPlaylist;
|
||||
//}
|
||||
Reference in New Issue
Block a user