-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Feature] WhiteboardList 당겨서 새로고침 구현 및 다크모드 대응 #116
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어푸푸 어푸푸푸푸 어푸푸 어푸푸루부 ~~ 😇👍🏻
수고하셨습니따우니 ~
@@ -28,7 +28,7 @@ class WhiteboardCell: UICollectionViewCell { | |||
private let titleLabel: UILabel = { | |||
let label = UILabel() | |||
label.font = AirplainFont.Subtitle2 | |||
label.textColor = .airplainBlack | |||
label.textColor = .black |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 녀석은 다크모드 때문에 어쩔 수 없었떤 것이었을까요 ..................... Color Asset에 다크모드 추가하는 건 어떤지 ....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
상단 AirPlaIN 타이틀 때문에 다크모드에 흰색 컬러를 추가해놨는데..
그렇게 하면 다크모드 전환 시 cell의 "다우니의 보드" 이 제목이 흰색으로 바뀌는 이슈가 있습니다..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오키 ~~~ ㅠㅠ 유감이라고 판단 .... 넘어가시죠
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다크모드 전환해도 기존 컬러 유지 이런 방법이 있네유..
@@ -253,6 +261,13 @@ public final class WhiteboardListViewController: UIViewController { | |||
} | |||
.store(in: &cancellables) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
얘 띵똥이 죽이지 않았나요 ??? whiteboardPublisher ??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MPC 버그 이슈를 롤백하면서 같이 부활했나봐요 ㅋㅋㅋ큐ㅠㅠ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
삭제 완
@@ -28,7 +28,7 @@ class WhiteboardCell: UICollectionViewCell { | |||
private let titleLabel: UILabel = { | |||
let label = UILabel() | |||
label.font = AirplainFont.Subtitle2 | |||
label.textColor = .airplainBlack | |||
label.textColor = .black |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이렇게 되면 다크모드로 전환했을 때 검정색으로 나오지 않을까요???
.airpainBlack은 다크모드에서 흰색으로 표시되는 것으로 알고 있습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
검정색을 의도하고 수정했습니다.
cell은 다크모드를 켜도 배경이 흰색이라 다크모드 전환시에도 타이틀의 컬러는 검정색이어야하는데, airplainBlack은 다크모드 색상이 흰색입니다..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아하 기본 Cell의 배경이 흰색이군요 👍👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다크모드 전환해도 기존 컬러 유지 요렇게 수정 완!!
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) { [weak self] in | ||
self?.refreshControl.endRefreshing() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
실제로는 화이트보드 리프레쉬가 완료되지 않았는데, endRefreshing이 되는 경우도 있을 것 같습니다.
물론 저희 로직이 실제 리프레쉬랑은 약간 다른 부분이 있긴 하지만요!! 일단 킵 고잉~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
킵코잉~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다ㅏ
@@ -28,7 +28,9 @@ class WhiteboardCell: UICollectionViewCell { | |||
private let titleLabel: UILabel = { | |||
let label = UILabel() | |||
label.font = AirplainFont.Subtitle2 | |||
label.textColor = .airplainBlack | |||
let originColor = UIColor(named: "AirplainBlack") ?? .black |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어라 혹시 .airplainbalck 말고 사용하신 이요눈 뭘까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 색상은 다크모드, 라이트모드 관계 없이 검정색으로 유지되어야합니다.
이유는 cell의 색상이 흰색이라 그냥 .airplainBlack 상태에서 다크모드 전환 시 글자가 안보이는 이슈가 있었습니다!
🌁 Background
📱 Screenshot
2024-11-26.5.13.52.mov
👩💻 Contents
serviceBrowser
가 꺼졌을 때 사라진 피어를 찾지 못하기 때문입니다.📣 Related Issue