diff --git a/Projects/Features/MyInfoFeature/Sources/Views/QuestionTableViewCell.swift b/Projects/Features/MyInfoFeature/Sources/Views/QuestionTableViewCell.swift index 55535f824..a02028319 100644 --- a/Projects/Features/MyInfoFeature/Sources/Views/QuestionTableViewCell.swift +++ b/Projects/Features/MyInfoFeature/Sources/Views/QuestionTableViewCell.swift @@ -9,12 +9,21 @@ class QuestionTableViewCell: UITableViewCell { override func awakeFromNib() { super.awakeFromNib() + if Thread.isMainThread { + MainActor.assumeIsolated { + categoryLabel.font = DesignSystemFontFamily.Pretendard.light.font(size: 12) + categoryLabel.setTextWithAttributes(kernValue: -0.5) + titleLabel.font = DesignSystemFontFamily.Pretendard.medium.font(size: 16) + titleLabel.setTextWithAttributes(kernValue: -0.5, lineSpacing: 5) + } + } else { Task { @MainActor in - categoryLabel.font = DesignSystemFontFamily.Pretendard.light.font(size: 12) - categoryLabel.setTextWithAttributes(kernValue: -0.5) - titleLabel.font = DesignSystemFontFamily.Pretendard.medium.font(size: 16) - titleLabel.setTextWithAttributes(kernValue: -0.5, lineSpacing: 5) + categoryLabel.font = DesignSystemFontFamily.Pretendard.light.font(size: 12) + categoryLabel.setTextWithAttributes(kernValue: -0.5) + titleLabel.font = DesignSystemFontFamily.Pretendard.medium.font(size: 16) + titleLabel.setTextWithAttributes(kernValue: -0.5, lineSpacing: 5) } + } } }