diff --git a/Sources/Collections/SkeletonCollectionDataSource.swift b/Sources/Collections/SkeletonCollectionDataSource.swift index 393d1cda..dc86feb1 100644 --- a/Sources/Collections/SkeletonCollectionDataSource.swift +++ b/Sources/Collections/SkeletonCollectionDataSource.swift @@ -107,7 +107,7 @@ extension SkeletonCollectionDataSource: UICollectionViewDataSource { return view } - return UICollectionReusableView() + return originalCollectionViewDataSource?.collectionView?(collectionView, viewForSupplementaryElementOfKind: kind, at: indexPath) ?? UICollectionReusableView() } }