mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-14 13:13:33 +01:00
Cleanup unnecessary #available branches
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user