mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Fixed wrong comparing of track objects
This commit is contained in:
parent
af7dcf840f
commit
ce376a3513
@ -98,7 +98,7 @@ namespace SpotifyAPI.Local
|
||||
}
|
||||
if (newStatusResponse.Track != null && _eventStatusResponse.Track != null)
|
||||
{
|
||||
if (newStatusResponse.Track.TrackResource?.Name != _eventStatusResponse.Track.TrackResource?.Name)
|
||||
if (newStatusResponse.Track.TrackResource?.Uri != _eventStatusResponse.Track.TrackResource?.Uri)
|
||||
{
|
||||
OnTrackChange?.Invoke(this, new TrackChangeEventArgs()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user