Skip to content

Commit

Permalink
refactor/#336 모임 추가 버튼 QA 반영 및 아이콘 색상 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaybei committed Aug 26, 2024
1 parent bd089df commit 2804c62
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions KkuMulKum/Source/MeetingList/View/MeetingListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ final class MeetingListView: BaseView {

let infoLabel = UILabel()

private let addButtonView = UIView(backgroundColor: .green2).then {
$0.layer.cornerRadius = 8
}

let addButton = UIButton().then {
$0.backgroundColor = .green2
$0.backgroundColor = .clear
$0.layer.cornerRadius = 8
}

Expand Down Expand Up @@ -65,7 +69,7 @@ final class MeetingListView: BaseView {
override func setupView() {
self.backgroundColor = .gray0
addSubviews(tableView, emptyCharacter, emptyLabel)
header.addSubviews(infoLabel, addButton, addInfoView)
header.addSubviews(infoLabel, addButtonView, addInfoView, addButton)
addInfoView.addArrangedSubviews(addIconImageView, addInfoLabel)
}

Expand All @@ -80,6 +84,12 @@ final class MeetingListView: BaseView {
$0.leading.equalToSuperview()
}

addButtonView.snp.makeConstraints {
$0.top.equalTo(infoLabel.snp.bottom).offset(20)
$0.leading.trailing.equalToSuperview()
$0.height.equalTo(Screen.height(48))
}

addButton.snp.makeConstraints {
$0.top.equalTo(infoLabel.snp.bottom).offset(20)
$0.leading.trailing.equalToSuperview()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class MeetingTableViewCell: BaseTableViewCell {
private let countLabel = UILabel()

private let rightIcon = UIImageView().then {
$0.image = .iconRight
$0.image = .iconRight.withTintColor(.gray3)
}


Expand Down

0 comments on commit 2804c62

Please sign in to comment.