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:
parent
8478f480d3
commit
3b919b3726
3 changed files with 7 additions and 3 deletions
|
|
@ -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": {}
|
||||
|
|
|
|||
|
|
@ -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": {}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue