Fixed the "set" Playlist property (order of operations issue).
This commit is contained in:
@@ -50,12 +50,10 @@ public partial class PlaylistDetailViewModel : ViewModelBase
|
||||
private set
|
||||
{
|
||||
_playlist?.PlaylistUpdated -= OnPlaylistUpdated;
|
||||
_playlist = _playlistManager.CurrentPlaylist;
|
||||
SetProperty(ref _playlist, value);
|
||||
_playlist?.PlaylistUpdated += OnPlaylistUpdated;
|
||||
|
||||
IsPlaylistLocked = Playlist?.IsLocked ?? false;
|
||||
|
||||
SetProperty(ref _playlist, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user