Skip to content

Commit

Permalink
🚨 :: μ…€ν”„ 캑쳐
Browse files Browse the repository at this point in the history
  • Loading branch information
yongbeomkwak committed Nov 30, 2023
1 parent 87026b2 commit 4dccb51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ extension CategorySearchViewController {
.map { _ in return }
.do(onNext: { [weak self] _ in
guard let self else {return }
input.isFetchByScroll.accept(true)
self.input.isFetchByScroll.accept(true)
})
.bind(to: input.loadMore)
.disposed(by: disposeBag)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ extension CategorySearchViewController {
self.indicator.stopAnimating()
DEBUG_LOG("DS: \(dataSource.count)")
if output.tags.value.count < 1, dataSource.isEmpty { // μ„ νƒν•œ ν•„ν„° νƒœκ·Έκ°€ μ—†λŠ” 상황
gridCollectionView.backgroundView = CategoryEmptyHeaderView().then {
self.gridCollectionView.backgroundView = CategoryEmptyHeaderView().then {
$0.setTitle(title: "λ“±λ‘λœ μž‘ν’ˆμ΄ 아직 μ—†μ–΄μš”.", subtitle: "멋진 μž‘ν’ˆμœΌλ‘œ 곧 μ°Ύμ•„μ˜¬κ²Œμš”!")
$0.button.isHidden = true
}
} else if dataSource.isEmpty {
gridCollectionView.backgroundView = emptyHeaderView
self.gridCollectionView.backgroundView = emptyHeaderView
} else {
self.gridCollectionView.restore()
}
Expand Down

0 comments on commit 4dccb51

Please sign in to comment.