feat(sign-up): Tweaking agreement message (#1578)

* feat(sign-up): Tweaking agreement message

* fix: added padding around TOS checkbox

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
sienna-sterling 2025-01-27 14:18:53 -05:00 committed by GitHub
parent 8478f480d3
commit 3b919b3726
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -3065,7 +3065,7 @@
"type": "text",
"placeholders": {}
},
"andCertifyIAmAtLeast13YearsOfAge": " and certify I am at least 13 years of age.",
"andCertifyIAmAtLeast13YearsOfAge": " and certify I am at least 16 years of age.",
"@andCertifyIAmAtLeast13YearsOfAge": {
"type": "text",
"placeholders": {}

View file

@ -3301,7 +3301,7 @@
"type": "text",
"placeholders": {}
},
"andCertifyIAmAtLeast13YearsOfAge": " y certifico que tengo al menos 13 años.",
"andCertifyIAmAtLeast13YearsOfAge": " y certifico que tengo al menos 16 años.",
"@andCertifyIAmAtLeast13YearsOfAge": {
"type": "text",
"placeholders": {}

View file

@ -40,7 +40,7 @@ class TosCheckboxState extends State<TosCheckbox>
onTap: () => UrlLauncher(context, AppConfig.termsOfServiceUrl)
.launchUrl(),
child: Padding(
padding: const EdgeInsets.only(left: 15),
padding: const EdgeInsets.fromLTRB(15, 8, 0, 8),
child: RichText(
text: TextSpan(
text: L10n.of(context).iAgreeToThe,
@ -51,6 +51,10 @@ class TosCheckboxState extends State<TosCheckbox>
decoration: TextDecoration.underline,
),
),
TextSpan(
text:
L10n.of(context).andCertifyIAmAtLeast13YearsOfAge,
),
],
style: TextStyle(
fontSize: 14,