Skip to content

Commit

Permalink
[Chore] #236 - 공통 모달 크기 수정 및 배포
Browse files Browse the repository at this point in the history
[Chore] #236 - 공통 모달 크기 수정 및 배포
  • Loading branch information
yungu0010 authored Feb 28, 2024
2 parents 6f598a8 + 20d7d0f commit 4248387
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 22 deletions.
8 changes: 4 additions & 4 deletions iOS-NOTTODO/iOS-NOTTODO.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = CQJ9UKUU35;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -1610,7 +1610,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.3;
MARKETING_VERSION = 1.0.4;
PRODUCT_BUNDLE_IDENTIFIER = "nottodo.iOS-NOTTODO";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1633,7 +1633,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = CQJ9UKUU35;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -1648,7 +1648,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.3;
MARKETING_VERSION = 1.0.4;
PRODUCT_BUNDLE_IDENTIFIER = "nottodo.iOS-NOTTODO";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
1 change: 1 addition & 0 deletions iOS-NOTTODO/iOS-NOTTODO/Global/Enum/KeychainUtil.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@ public final class KeychainUtil {

UserDefaults.standard.removeObject(forKey: DefaultKeys.socialToken)
UserDefaults.standard.removeObject(forKey: DefaultKeys.accessToken)
UserDefaults.standard.removeObject(forKey: DefaultKeys.isDeprecatedBtnClicked)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ extension CommonNotificationViewController {

backgroundView.do {
$0.backgroundColor = .white
$0.layer.cornerRadius = 20
$0.layer.cornerRadius = 15
}

titleLabel.do {
Expand Down Expand Up @@ -84,7 +84,7 @@ extension CommonNotificationViewController {
bottomView.do {
$0.backgroundColor = .gray5
$0.layer.maskedCorners = [.layerMinXMaxYCorner, .layerMaxXMaxYCorner]
$0.layer.cornerRadius = 20
$0.layer.cornerRadius = 15
}

blackButton.do {
Expand Down Expand Up @@ -126,46 +126,46 @@ extension CommonNotificationViewController {
bottomView.addSubviews(deprecatedButton, deprecatedTitle, closeButton)

backgroundView.snp.makeConstraints {
$0.width.equalTo(312)
$0.height.equalTo(459)
$0.width.equalTo(278.adjusted)
$0.height.equalTo(408.adjusted)
$0.center.equalToSuperview()
}

titleLabel.snp.makeConstraints {
$0.top.equalToSuperview().inset(30)
$0.leading.equalToSuperview().inset(32)
$0.top.equalToSuperview().inset(17.adjusted)
$0.leading.equalToSuperview().inset(15.adjusted)
}

icon.snp.makeConstraints {
$0.top.equalTo(titleLabel.snp.bottom).offset(4)
$0.horizontalEdges.equalToSuperview().inset(28)
$0.height.equalTo(201)
$0.top.equalTo(titleLabel.snp.bottom).offset(6.adjusted)
$0.horizontalEdges.equalToSuperview().inset(29.adjusted)
$0.height.equalTo(173.adjusted)
}

greenButton.snp.makeConstraints {
$0.top.equalTo(icon.snp.bottom).offset(7)
$0.horizontalEdges.equalToSuperview().inset(32)
$0.height.equalTo(52)
$0.top.equalTo(icon.snp.bottom).offset(9.adjusted)
$0.horizontalEdges.equalToSuperview().inset(15.adjusted)
$0.height.equalTo(52.adjusted)
}

bottomView.snp.makeConstraints {
$0.horizontalEdges.bottom.equalToSuperview()
$0.height.equalTo(58)
$0.height.equalTo(50.adjusted)
}

deprecatedButton.snp.makeConstraints {
$0.centerY.equalToSuperview()
$0.leading.equalToSuperview().inset(20)
$0.size.equalTo(20)
$0.leading.equalToSuperview().inset(10.adjusted)
$0.size.equalTo(20.adjusted)
}

deprecatedTitle.snp.makeConstraints {
$0.leading.equalTo(deprecatedButton.snp.trailing).offset(5)
$0.leading.equalTo(deprecatedButton.snp.trailing).offset(6.adjusted)
$0.centerY.equalToSuperview()
}

closeButton.snp.makeConstraints {
$0.trailing.equalToSuperview().inset(33)
$0.trailing.equalToSuperview().inset(23.adjusted)
$0.centerY.equalToSuperview()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ struct InfoModel: Hashable {
InfoModel(title: I18N.inquiry),
InfoModel(title: I18N.policies)
]
static func version() -> [InfoModel] { return [InfoModel(title: I18N.version+(Utils.version ?? "1.0.0"))] }
static func version() -> [InfoModel] { return [InfoModel(title: I18N.version + " " + (Utils.version ?? "1.0.0"))] }
}

0 comments on commit 4248387

Please sign in to comment.