Skip to content

Commit ad0690d

Browse files
Mikhail Markinkzaher
authored andcommitted
#available tvOS 11 added for UITableView.performBatchUpdates(_:completion:)
1 parent 812f7b4 commit ad0690d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RxDataSources/RxTableViewSectionedAnimatedDataSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ open class RxTableViewSectionedAnimatedDataSource<S: AnimatableSectionModelType>
107107
dataSource.setSections(difference.finalSections)
108108
tableView.batchUpdates(difference, animationConfiguration: self.animationConfiguration)
109109
}
110-
if #available(iOS 11, *) {
110+
if #available(iOS 11, tvOS 11, *) {
111111
tableView.performBatchUpdates(updateBlock, completion: nil)
112112
} else {
113113
tableView.beginUpdates()

0 commit comments

Comments
 (0)