File tree Expand file tree Collapse file tree
app/src/main/java/to/bitkit/ui/onboarding Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,14 +86,14 @@ fun TermsOfUseScreen(
8686 ) {
8787 TermsText (
8888 title = stringResource(R .string.onboarding__tos_checkbox),
89- htmlText = AnnotatedString (stringResource(R .string.onboarding__tos_checkbox_value)),
89+ bodyText = AnnotatedString (stringResource(R .string.onboarding__tos_checkbox_value)),
9090 modifier = Modifier
9191 .padding(horizontal = horizontalPadding)
9292 .testTag(" Check1" )
9393 )
9494 TermsText (
9595 title = stringResource(R .string.onboarding__pp_checkbox),
96- htmlText = stringResource(R .string.onboarding__pp_checkbox_value)
96+ bodyText = stringResource(R .string.onboarding__pp_checkbox_value)
9797 .withAccentLink(Env .PRIVACY_POLICY_URL ),
9898 modifier = Modifier
9999 .padding(horizontal = horizontalPadding)
@@ -117,7 +117,7 @@ fun TermsOfUseScreen(
117117@Composable
118118private fun TermsText (
119119 title : String ,
120- htmlText : AnnotatedString ,
120+ bodyText : AnnotatedString ,
121121 modifier : Modifier = Modifier ,
122122) {
123123 Column (
@@ -128,7 +128,7 @@ private fun TermsText(
128128 VerticalSpacer (14 .dp)
129129 BodyMSB (title)
130130 VerticalSpacer (4 .dp)
131- BodySSB (text = htmlText , color = Colors .White64 )
131+ BodySSB (text = bodyText , color = Colors .White64 )
132132 VerticalSpacer (14 .dp)
133133 HorizontalDivider ()
134134 }
You can’t perform that action at this time.
0 commit comments