-
Notifications
You must be signed in to change notification settings - Fork 0
[FIX] 회원가입 관련 오류 수정 #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[FIX] 회원가입 관련 오류 수정 #174
Changes from 12 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
8f151e7
fix/#173: 버튼 활성시 텍스트 컬러가 적용되지 않던 문제 수정
0Hooni 1880737
feat/#173: 밑줄 텍스트 버튼 공통 컴포넌트 구현
0Hooni 051e802
feat/#173: 밑줄 텍스트 버튼 컴포넌트 구현 및 적용
0Hooni 2e9519b
feat/#173: attr 텍스트 컬러 변경 메서드 구현
0Hooni 3d083ec
fix/#173: 텍스트 스타일 적용
0Hooni 2caee41
fix/#173: 텍스트 스타일 적용
0Hooni fa6ec39
feat/#173: 로그아웃, 회원탈퇴 시점에 키체인에서 토큰 제거
0Hooni ebf8c41
refactor/#173: 키체인 실패 로그 추가
0Hooni e363184
fix/#173: 회원가입 후 바로 로그인되지 않던 문제 수정
0Hooni 06783ca
chore/#173: Xcode26 리퀴드글래서 효과 자동적용 제거
0Hooni 768aafa
fix/#173: 애플로그인 회원가입 화면 중복 이동 문제 해결
0Hooni 962aac4
refactor/#173: 애플로그인 코드 리팩터링
0Hooni 0669905
refactor/#173: ASAuthorizationController 인스턴스 재생성
0Hooni fa96273
fix/#173: PPUnderlined 컴포넌트 오류 수정
0Hooni 5c48860
fix/#173: 컴포넌트 패키지 추가 오류 수정
0Hooni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
Poppool/PresentationLayer/DesignSystem/DesignSystem/Components/PPUnderlinedTextButton.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| import UIKit | ||
|
|
||
| import SnapKit | ||
|
|
||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| public final class PPUnderlinedTextButton: UIButton { | ||
|
|
||
| private let textColor: UIColor = .g1000 | ||
| private let disabledTextColor: UIColor = .g300 | ||
|
|
||
| private let UnderlineView = UIView().then { | ||
| $0.backgroundColor = .g1000 | ||
| } | ||
|
|
||
| public init( | ||
| fontStyle: PPFontStyle = .KOm16, | ||
| text: String, | ||
| disabledText: String = "", | ||
| ) { | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| super.init(frame: .zero) | ||
|
|
||
| self.setText(to: text, with: fontStyle, color: textColor, for: .normal) | ||
| self.setText(to: disabledText.isEmpty ? text : disabledText, with: fontStyle, color: disabledTextColor, for: .disabled) | ||
|
|
||
| self.addViews() | ||
| self.setupConstraints() | ||
| } | ||
|
|
||
| required init?(coder: NSCoder) { | ||
| fatalError("\(#file), \(#function) Error") | ||
| } | ||
|
|
||
| override public func layoutSubviews() { | ||
| super.layoutSubviews() | ||
|
|
||
| switch state { | ||
| case .normal: | ||
| UnderlineView.backgroundColor = textColor | ||
| case .disabled: | ||
| UnderlineView.backgroundColor = disabledTextColor | ||
| default: break | ||
| } | ||
| } | ||
| } | ||
|
|
||
| extension PPUnderlinedTextButton { | ||
| func addViews() { | ||
| [UnderlineView].forEach { | ||
| self.addSubview($0) | ||
| } | ||
| } | ||
|
|
||
| func setupConstraints() { | ||
| UnderlineView.snp.makeConstraints { make in | ||
| make.height.equalTo(1) | ||
| make.bottom.equalToSuperview() | ||
| make.horizontalEdges.equalToSuperview() | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.