Skip to content

Commit

Permalink
Merge pull request #24 from longnguyen2004/master
Browse files Browse the repository at this point in the history
Fix wrong event type in `ConcurrentObservableSortedSet.Remove`
  • Loading branch information
stewienj authored Aug 8, 2022
2 parents ec3a8ab + a6e4dda commit e0d7c7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public bool Remove(T value)
wasRemoved = newCollection != _internalCollection;
return newCollection;
},
(index) => wasRemoved ? new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, value, index) : null
(index) => wasRemoved ? new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, value, index) : null
);
return wasRemoved;
}
Expand Down

0 comments on commit e0d7c7d

Please sign in to comment.