Skip to content

Commit 9805024

Browse files
committed
Fixes problem with editing section.
1 parent cb15ae7 commit 9805024

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ SPEC CHECKSUMS:
1313

1414
PODFILE CHECKSUM: aa7efef7446c5f9aba76c340621bcd059f388ca8
1515

16-
COCOAPODS: 1.0.0.beta.6
16+
COCOAPODS: 1.0.0.rc.2

Sources/DataSources/SectionModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ public struct SectionModel<Section, ItemType>
3434
extension SectionModel {
3535
public init(original: SectionModel<Section, Item>, items: [Item]) {
3636
self.model = original.model
37-
self.items = original.items
37+
self.items = items
3838
}
3939
}

Sources/DataSources/TableViewSectionedDataSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public class RxTableViewSectionedDataSource<S: SectionModelType>
219219
}
220220

221221
override func _rx_tableView(tableView: UITableView, sectionForSectionIndexTitle title: String, atIndex index: Int) -> Int {
222-
guard let section = sectionForSectionIndexTitle?(self, title: title, index: index) else {
222+
guard let section = sectionForSectionIndexTitle?(self, title: title, index: index) else {
223223
return super._rx_tableView(tableView, sectionForSectionIndexTitle: title, atIndex: index)
224224
}
225225

0 commit comments

Comments
 (0)