Skip to content

Commit ff7c932

Browse files
igorkulmankzaher
authored andcommitted
adding a reasonable default for sectionForSectionIndexTitle
1 parent c06ebe2 commit ff7c932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/DataSources/TableViewSectionedDataSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ open class _TableViewSectionedDataSource
8383
}
8484

8585
open func _rx_tableView(_ tableView: UITableView, sectionForSectionIndexTitle title: String, at index: Int) -> Int {
86-
return 0
86+
return index
8787
}
8888

8989
open func tableView(_ tableView: UITableView, sectionForSectionIndexTitle title: String, at index: Int) -> Int {

0 commit comments

Comments
 (0)