Skip to content

Commit

Permalink
Onboarding successful - replace deprecated StyleText with `Text(Att…
Browse files Browse the repository at this point in the history
…ributedString)`
  • Loading branch information
NicolasBuquet committed Jan 9, 2025
1 parent b032a57 commit eccebd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ struct OnboardingCongratulationsScreen: View {
.foregroundColor(.white)

// Tchap: replace deprecated `StyleText` with `Text(AttributedString)`
StyledText(viewModel.viewState.messageString)
// Text(AttributedString(viewModel.viewState.messageString))
// StyledText(viewModel.viewState.messageString)
Text(AttributedString(viewModel.viewState.messageString))
.font(theme.fonts.body)
.foregroundColor(.white)
.multilineTextAlignment(.center)
Expand Down

0 comments on commit eccebd6

Please sign in to comment.