Skip to content

Commit 20ec765

Browse files
freak4pckzaher
authored andcommitted
Make configureSupplementaryView optional on RxCollectionViewSectionedAnimatedDataSource
1 parent 99329c3 commit 20ec765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RxDataSources/RxCollectionViewSectionedAnimatedDataSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ open class RxCollectionViewSectionedAnimatedDataSource<S: AnimatableSectionModel
3535
animationConfiguration: AnimationConfiguration = AnimationConfiguration(),
3636
decideViewTransition: @escaping DecideViewTransition = { _, _, _ in .animated },
3737
configureCell: @escaping ConfigureCell,
38-
configureSupplementaryView: @escaping ConfigureSupplementaryView,
38+
configureSupplementaryView: ConfigureSupplementaryView? = nil,
3939
moveItem: @escaping MoveItem = { _, _, _ in () },
4040
canMoveItemAtIndexPath: @escaping CanMoveItemAtIndexPath = { _, _ in false }
4141
) {

0 commit comments

Comments
 (0)