Skip to content

Commit

Permalink
Fixed that .Bind() operators for ISortedChangeSet<TObject, TKey>
Browse files Browse the repository at this point in the history
…streams were not properly recognizing the `ResetOnFirstTimeLoad` option. The option was only being used if the initial changeset also exceeded the `ResetThreshold` setting. (#935)
  • Loading branch information
JakenVeina authored Sep 3, 2024
1 parent afbbb47 commit b6e851e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void Adapt(ISortedChangeSet<TObject, TKey> changes, IObservableCollection
break;

case SortReason.InitialLoad:
if (resetOnFirstTimeLoad && (changes.Count - changes.Refreshes > refreshThreshold))
if (resetOnFirstTimeLoad || (changes.Count - changes.Refreshes > refreshThreshold))
{
using (collection.SuspendNotifications())
{
Expand Down

0 comments on commit b6e851e

Please sign in to comment.