From 3b919b3726861ef7223ae02db81348b53f466c16 Mon Sep 17 00:00:00 2001 From: sienna-sterling <112006749+sienna-sterling@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:18:53 -0500 Subject: [PATCH] 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 --- assets/l10n/intl_en.arb | 2 +- assets/l10n/intl_es.arb | 2 +- lib/pangea/login/widgets/tos_checkbox.dart | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index e496fc55b..519f98e2e 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -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": {} diff --git a/assets/l10n/intl_es.arb b/assets/l10n/intl_es.arb index ffa83213c..8881536ba 100644 --- a/assets/l10n/intl_es.arb +++ b/assets/l10n/intl_es.arb @@ -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": {} diff --git a/lib/pangea/login/widgets/tos_checkbox.dart b/lib/pangea/login/widgets/tos_checkbox.dart index c7bab801a..e6f48b086 100644 --- a/lib/pangea/login/widgets/tos_checkbox.dart +++ b/lib/pangea/login/widgets/tos_checkbox.dart @@ -40,7 +40,7 @@ class TosCheckboxState extends State 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 decoration: TextDecoration.underline, ), ), + TextSpan( + text: + L10n.of(context).andCertifyIAmAtLeast13YearsOfAge, + ), ], style: TextStyle( fontSize: 14,