-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop section moves if they are also deleted or inserted #577
Conversation
@rnystrom updated the pull request - view changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌮
@@ -77,9 +77,10 @@ - (instancetype)initWithInsertSections:(NSIndexSet *)insertSections | |||
const NSInteger from = move.from; | |||
const NSInteger to = move.to; | |||
|
|||
// if the move is already deleted or inserted, discard it and use delete+insert instead | |||
// if the move is already deleted or inserted, discard it because count-changing operations must match | |||
// with data source changesw |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changesw typo
@rnystrom updated the pull request - view changes |
@rnystrom has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Changes in this pull request
Issue fixed: #430
Checklist
CHANGELOG.md
for any breaking changes, enhancements, or bug fixes.