Skip to content

Commit

Permalink
fix/#371 네비게이션 백그라운드 뷰 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaybei committed Sep 8, 2024
1 parent 3414f5a commit f7a3555
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions KkuMulKum/Source/MeetingList/View/MeetingListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ final class MeetingListView: BaseView {

// MARK: - Property

private let topBackgroundView = UIView(backgroundColor: .white)

private let header = UIView().then {
$0.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: Screen.height(174))
}
Expand Down Expand Up @@ -68,15 +70,22 @@ final class MeetingListView: BaseView {

override func setupView() {
self.backgroundColor = .gray0
addSubviews(tableView, emptyCharacter, emptyLabel)
addSubviews(topBackgroundView, tableView, emptyCharacter, emptyLabel)
header.addSubviews(infoLabel, addButtonView, addInfoView, addButton)
addInfoView.addArrangedSubviews(addIconImageView, addInfoLabel)
}

override func setupAutoLayout() {
topBackgroundView.snp.makeConstraints {
$0.top.equalToSuperview()
$0.horizontalEdges.equalToSuperview()
$0.bottom.equalTo(safeAreaLayoutGuide.snp.top)
}

tableView.snp.makeConstraints {
$0.leading.trailing.equalToSuperview().inset(20)
$0.top.bottom.equalToSuperview()
$0.top.equalTo(safeAreaLayoutGuide.snp.top)
$0.bottom.equalToSuperview()
}

infoLabel.snp.makeConstraints {
Expand Down

0 comments on commit f7a3555

Please sign in to comment.