Fix build errors.

This commit is contained in:
Doug
2022-08-18 11:50:32 +01:00
committed by Doug
parent 2b1bd6f772
commit 3c41959f3d
4 changed files with 4 additions and 3 deletions
@@ -37,7 +37,7 @@ struct OnboardingCongratulationsViewState: BindableState {
let attributedMessage = NSMutableAttributedString(string: message)
let range = (message as NSString).range(of: userId)
if range.location != NSNotFound {
attributedMessage.addAttributes([.font: UIFont.element.body.bold], range: range)
attributedMessage.addAttributes([.font: UIFont.preferredFont(forTextStyle: .body).vc_bold], range: range)
}
return attributedMessage