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
@@ -87,7 +87,7 @@ struct LiveLocationSharingViewer: View {
HStack(spacing: 10) {
Image(uiImage: Asset.Images.locationLiveCellIcon.image)
.renderingMode(.template)
.foregroundColor(theme.colors.quaternaryContent)
.foregroundColor(theme.colors.quarterlyContent)
.frame(width: 40, height: 40)
Text(VectorL10n.liveLocationSharingEnded)
.font(theme.fonts.body)
@@ -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