Skip to content

Commit

Permalink
[Chore] CDS-Mobile1#27 - 불필요한 주석 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
joonBaek12 committed Jun 4, 2023
1 parent e4fb03f commit 8d51333
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Instagram-iOS/Instagram-iOS/Screens/DMList/DMList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,24 +99,10 @@ final class DMListViewController: BaseViewController {

extension DMListViewController: UITableViewDelegate {
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
// switch section {
// case 0:
// return DMTableViewHeader()
// default:
// guard let header = tableView.dequeueReusableHeaderFooterView(withIdentifier: DMTableViewCellHeader.identifier) as? DMTableViewCellHeader else {fatalError("header fail")}
// return header
// }
return DMTableViewHeader()
}

func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
// switch section {
// case 0:
// return 172
// default:
// return 47
// }

return 172 + 42
}
}
Expand Down

0 comments on commit 8d51333

Please sign in to comment.