diff --git a/Projects/Feature/CategorySearchFeature/Demo/Sources/CategorySearchViewController+Output.swift b/Projects/Feature/CategorySearchFeature/Demo/Sources/CategorySearchViewController+Output.swift index 32aaf871..ed9385b9 100644 --- a/Projects/Feature/CategorySearchFeature/Demo/Sources/CategorySearchViewController+Output.swift +++ b/Projects/Feature/CategorySearchFeature/Demo/Sources/CategorySearchViewController+Output.swift @@ -22,7 +22,7 @@ extension CategorySearchViewController { guard let self else {return} if dataSource.isEmpty { - self.tableView.tableHeaderView = headerView + self.tableView.tableHeaderView = self.headerView } else { self.tableView.tableHeaderView = nil } diff --git a/Projects/Feature/CategorySearchFeature/Sources/ViewControllers/CategorySearchViewController/CategorySearchViewController+Output.swift b/Projects/Feature/CategorySearchFeature/Sources/ViewControllers/CategorySearchViewController/CategorySearchViewController+Output.swift index 02384ffe..c10c02f3 100644 --- a/Projects/Feature/CategorySearchFeature/Sources/ViewControllers/CategorySearchViewController/CategorySearchViewController+Output.swift +++ b/Projects/Feature/CategorySearchFeature/Sources/ViewControllers/CategorySearchViewController/CategorySearchViewController+Output.swift @@ -39,7 +39,7 @@ extension CategorySearchViewController { $0.button.isHidden = true } } else if dataSource.isEmpty { - self.gridCollectionView.backgroundView = emptyHeaderView + self.gridCollectionView.backgroundView = self.emptyHeaderView } else { self.gridCollectionView.restore() }