-
Notifications
You must be signed in to change notification settings - Fork 0
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
[refactor] 쪽지 작성 기능 리팩토링 #299 #301
base: develop
Are you sure you want to change the base?
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.
확인했습니다! fontManager 관련 부분 확인 부탁드려용~!
@@ -45,7 +45,7 @@ final class BaseTextView: UITextView { | |||
|
|||
private func subscribeToFontPublisher() { | |||
self.cancellable = fontManager.fontPublisher | |||
.receive(on: DispatchQueue.main) | |||
// .receive(on: DispatchQueue.main) |
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.
이거 updateFont(to:isBold:) 함수에서 UIFont(name: .system)이 없는건 아닐까요?
아니면 fontManager가 싱글턴이니까 상위 뷰에서 먼저 설정되어야 하는 부분을 건너뛰어서 여기서 크래시가 나는 것은 아닌가 합니다!
만약 저 객체 자체가 뭔가 이니셜라이징이 제대로 안 되어있으면 전체 뷰에서 문제가 날 수도 있겠다는 생각이 듭니당
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.
오 한번 확인해보고 말씀드릴게요!
관련 이슈
작업 내용
클래스/메서드/swift 파일 이름 등
리뷰 사항