Cleanup unnecessary #available branches

This commit is contained in:
John Estropia committed 2021-03-07 12:01:08 +09:00
1 parent 0b127956d3
commit 003bf897e2
37 files changed
+65 -415

No files matched your search

@@ -247,16 +247,7 @@ extension DiffableDataSource {
return
}
if #available(iOS 11.0, tvOS 11.0, *) {
base.performBatchUpdates(updates)
}
else {
base.beginUpdates()
updates()
base.endUpdates()
}
base.performBatchUpdates(updates)
}
public func reloadData() {