Skip to content

Commit

Permalink
fis: 찜 목록 불러오기 무한 스크롤 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chayoosang committed Mar 31, 2023
1 parent 5cf96b9 commit 43e5e64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions KeKi/Scenes/Feed/FeedViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class FeedViewController: UIViewController {
}

private func setupNavigationBar() {
self.navigationController?.isNavigationBarHidden = false
self.navigationController?.navigationBar.isHidden = false

self.navigationController?.navigationBar.tintColor = .black
Expand All @@ -68,7 +67,8 @@ class FeedViewController: UIViewController {

@objc private func didTapBackItem() {
self.tabBarController?.tabBar.isHidden = false
self.navigationController?.popViewController(animated: true) }
self.navigationController?.popViewController(animated: true)
}


func setPostIdx(postIdx: Int) {
Expand Down
2 changes: 1 addition & 1 deletion KeKi/Scenes/Heart/HeartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ extension HeartViewController {
hud.textLabel.text = "Loading"
hud.show(in: self.view)

APIManeger.shared.testGetData(urlEndpointString: "/posts/likes", dataType: HeartResponse.self, parameter: nil) { [weak self] response in
APIManeger.shared.testGetData(urlEndpointString: "/posts/likes", dataType: HeartResponse.self, parameter: queryParam) { [weak self] response in
hud.dismiss(animated: true)
response.result.feeds.forEach { feed in
self?.feedList.append(feed)
Expand Down

0 comments on commit 43e5e64

Please sign in to comment.