Skip to content

Commit

Permalink
[FEAT] 수정 #51
Browse files Browse the repository at this point in the history
  • Loading branch information
HELLOHIDI committed Nov 25, 2023
1 parent c705686 commit 10477c8
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ final class DetailViewController: BaseViewController {
requestDetailAPI()
}

@objc func backButtonDidTap() {
print(#function)
self.navigationController?.popViewController(animated: true)
}

func requestDetailAPI() {
guard let id else { return }
MoyaAPI.shared.getProgramDetailData(id: id) { [weak self] result in
Expand All @@ -79,9 +74,9 @@ extension DetailViewController {
backButton.do {
$0.setImage(UIImage(systemName: "chevron.backward"), for: .normal)
$0.tintColor = .white
$0.addTarget(self, action: #selector(backButtonDidTap), for: .touchUpInside)
}


backgroundImageView.do {
$0.image = Image.dummy1
}
Expand Down

0 comments on commit 10477c8

Please sign in to comment.