Skip to content

Commit b5ee68f

Browse files
committed
Fixed pass value in collection view init.
1 parent 191e110 commit b5ee68f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Sources/SPDiffable/Collection/SPDiffableCollectionController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ open class SPDiffableCollectionController: UICollectionViewController {
5454
diffableDataSource = SPDiffableCollectionDataSource(
5555
collectionView: collectionView,
5656
cellProviders: cellProviders,
57-
supplementaryViewProviders: supplementaryViewProviders
57+
supplementaryViewProviders: supplementaryViewProviders,
58+
headerAsFirstCell: headerAsFirstCell
5859
)
5960
diffableDataSource?.apply(sections, animated: false)
6061
}

0 commit comments

Comments
 (0)