Skip to content

Commit 437afc0

Browse files
authored
Avoid no-op eventing (#39)
1 parent e684b99 commit 437afc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FetchRequests/Sources/Controller/FetchedResultsController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ private extension FetchedResultsController {
607607
return !fetchedObjectIDs.contains(object.id)
608608
}.sorted(by: sortDescriptors)
609609

610-
guard !objects.isEmpty else {
610+
guard !sortedObjects.isEmpty else {
611611
return
612612
}
613613

0 commit comments

Comments
 (0)