Skip to content

Commit

Permalink
[Feat] #319 - 식당 상세로 push 되는 모든 경우 네비바 새로 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
EunsuSeo01 committed Dec 29, 2024
1 parent 5d8c35e commit cc5e660
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ extension HankkiListViewController: UITableViewDelegate {
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
tableView.deselectRow(at: indexPath, animated: true)
let hankkiId = viewModel.hankkiList[indexPath.item].id
let hankkiDetailViewController = HankkiDetailViewController(viewModel: HankkiDetailViewModel(hankkiId: hankkiId))
navigationController?.pushViewController(hankkiDetailViewController, animated: true)
pushToDetailWithHankkiNavigation(hankkiId: hankkiId)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ private extension ReportCompleteViewController {
// MARK: - @objc Func

@objc func bottomButtonPrimaryHandler() {
let hankkiDetailViewController = HankkiDetailViewController(viewModel: HankkiDetailViewModel(hankkiId: hankkiId))
navigationController?.pushViewController(hankkiDetailViewController, animated: true)
pushToDetailWithHankkiNavigation(hankkiId: hankkiId)
}

@objc func addToMyZipListButtonDidTap() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ private extension SearchViewController {

func pushToHankkiDetail() {
guard let hankkiId = viewModel.storeId else { return }
let hankkiDetailViewController = HankkiDetailViewController(viewModel: HankkiDetailViewModel(hankkiId: hankkiId))
navigationController?.pushViewController(hankkiDetailViewController, animated: true)
pushToDetailWithHankkiNavigation(hankkiId: hankkiId)
}
}

Expand Down

0 comments on commit cc5e660

Please sign in to comment.