Skip to content

Commit

Permalink
Merge pull request #133 from Kek-i/fix/128-all
Browse files Browse the repository at this point in the history
  • Loading branch information
chayoosang authored Apr 1, 2023
2 parents f00be11 + 852dd10 commit ae349bf
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 164 deletions.
5 changes: 3 additions & 2 deletions KeKi/Scenes/Feed/FeedViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class FeedViewController: UIViewController {
}

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

self.navigationController?.navigationBar.tintColor = .black
Expand All @@ -68,7 +68,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
Loading

0 comments on commit ae349bf

Please sign in to comment.