Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit 3724210

Browse files
committed
Merge pull request #42 from Xummer/master
Update frcd.m
2 parents 523b018 + 243d474 commit 3724210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frcd.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ - (void)controller:(NSFetchedResultsController *)controller
4444
break;
4545
case NSFetchedResultsChangeMove:
4646
[self.tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic];
47-
[self.tableView insertRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic];
47+
[self.tableView insertRowsAtIndexPaths:@[newIndexPath] withRowAnimation:UITableViewRowAnimationAutomatic];
4848
break;
4949
}
5050
}
5151

5252
- (void)controllerDidChangeContent:(NSFetchedResultsController *)controller {
5353
[self.tableView endUpdates];
54-
}
54+
}

0 commit comments

Comments
 (0)