[FetchedResultsControllerDelegate] Remove duplicate code.

This commit is contained in:
Ruslan Skorb committed 2017-03-05 12:20:12 +02:00
1 parent 341ec5e771
commit 0c483e0e19
1 file changed
-10
@@ -132,16 +132,6 @@ internal final class FetchedResultsControllerDelegate<EntityType: NSManagedObjec
}
}
if #available(iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
// I don't know if iOS 10 even attempted to fix this mess...
if case .update = actualType,
indexPath != nil && newIndexPath != nil {
actualType = .move
}
}
switch actualType {
case .update: