Skip to content

Commit

Permalink
[Fix] sopt-makers#348 - 찌르기 알림 리스트 뷰가 로드 되면서 API가 2번 호출되는 이슈 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
lsj8706 committed Jan 4, 2024
1 parent eb962e8 commit 1467ef2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ extension PokeNotificationViewController {
.publisher(for: \.contentOffset)
.map { [weak self] offset in
guard
!offset.y.isZero,
offset.y > 0,
let tableView = self?.tableView,
tableView.contentOffset.y >= tableView.contentSize.height - tableView.frame.size.height
else { return false }
Expand Down

0 comments on commit 1467ef2

Please sign in to comment.