Skip to content

Commit

Permalink
Fix : FlattenedProvider misplace,e.g. 110 meybe 1-1-0 or 11-0 (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
dishcool authored and lkzhao committed Apr 3, 2019
1 parent f6a2200 commit daf0bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Provider/FlattenedProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct FlattenedProvider: ItemProvider {
func identifier(at: Int) -> String {
let (sectionIndex, item) = indexPath(at)
if let sectionData = childSections[sectionIndex].sectionData {
return provider.identifier(at: sectionIndex) + sectionData.identifier(at: item)
return provider.identifier(at: sectionIndex) + "-" + sectionData.identifier(at: item)
} else {
return provider.identifier(at: sectionIndex)
}
Expand Down

0 comments on commit daf0bc3

Please sign in to comment.