Skip to content

Commit 7f2419e

Browse files
committed
[#90] 모달 color 속성 제거 및 정렬
1 parent 3f8655d commit 7f2419e

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

EATSSU_MVC/EATSSU_MVC/Sources/Presentation/Review/ViewController/LoginPromptViewController.swift

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,43 +35,30 @@ final class LoginPromptViewController: BaseViewController {
3535
$0.numberOfLines = 0
3636
$0.font = EATSSUFontFamily.Pretendard.bold.font(size: 18)
3737
$0.setContentHuggingPriority(.defaultHigh, for: .vertical)
38-
$0.backgroundColor = .green
3938
}
4039

4140
appleLoginButton.do {
4241
$0.setImage(EATSSUAsset.Images.Version2.appleLoginButton.image, for: .normal)
43-
$0.backgroundColor = .lightGray
44-
4542
}
4643

4744
kakaoLoginButton.do {
4845
$0.setImage(EATSSUAsset.Images.Version2.kakaoLoginButton.image, for: .normal)
49-
$0.backgroundColor = .purple
50-
}
51-
52-
buttonView.do {
53-
$0.backgroundColor = .red
5446
}
5547

5648
buttonStackView.do {
5749
$0.axis = .vertical
5850
$0.spacing = 8
59-
$0.backgroundColor = .blue
60-
6151
}
62-
52+
6353
loginPromptStackView.do {
6454
$0.axis = .vertical
65-
$0.backgroundColor = .yellow
6655
}
6756
}
6857

6958
override func configureUI() {
70-
view.addSubview(
71-
loginPromptStackView
72-
)
59+
view.addSubview(loginPromptStackView)
7360
buttonView.addSubview(buttonStackView)
74-
61+
7562
buttonStackView.addArrangedSubviews([appleLoginButton,
7663
kakaoLoginButton])
7764
loginPromptStackView.addArrangedSubviews([loginAlertLabel,
@@ -81,12 +68,12 @@ final class LoginPromptViewController: BaseViewController {
8168
override func setLayout() {
8269
loginAlertLabel.snp.makeConstraints {
8370
$0.top.equalToSuperview()
84-
8571
}
72+
8673
buttonStackView.snp.makeConstraints{
8774
$0.center.equalToSuperview()
8875
}
89-
76+
9077
loginPromptStackView.snp.makeConstraints {
9178
$0.horizontalEdges.equalToSuperview().inset(30)
9279
$0.height.equalToSuperview().multipliedBy(0.7)

0 commit comments

Comments
 (0)