mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
Fix signup page (#419)
This commit is contained in:
parent
8b4fa5a12d
commit
c23c6482bb
15 changed files with 35 additions and 23 deletions
|
@ -9,10 +9,12 @@ import 'package:cake_wallet/src/widgets/scollable_with_bottom_section.dart';
|
|||
import 'package:cake_wallet/typography.dart';
|
||||
import 'package:cake_wallet/utils/show_pop_up.dart';
|
||||
import 'package:cake_wallet/view_model/ionia/ionia_auth_view_model.dart';
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:cake_wallet/generated/i18n.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
class IoniaCreateAccountPage extends BasePage {
|
||||
IoniaCreateAccountPage(this._authViewModel)
|
||||
|
@ -30,6 +32,9 @@ class IoniaCreateAccountPage extends BasePage {
|
|||
final FocusNode _emailFocus;
|
||||
final TextEditingController _emailController;
|
||||
|
||||
static const privacyPolicyUrl = 'https://ionia.docsend.com/view/jaqsmbq9w7dzvnqf';
|
||||
static const termsAndConditionsUrl = 'https://ionia.docsend.com/view/hi9awnwxr6mqgiqj';
|
||||
|
||||
@override
|
||||
Widget middle(BuildContext context) {
|
||||
return Text(
|
||||
|
@ -102,6 +107,10 @@ class IoniaCreateAccountPage extends BasePage {
|
|||
color: Theme.of(context).accentTextTheme.body2.color,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () async {
|
||||
if (await canLaunch(termsAndConditionsUrl)) await launch(termsAndConditionsUrl);
|
||||
},
|
||||
),
|
||||
TextSpan(text: ' ${S.of(context).and} '),
|
||||
TextSpan(
|
||||
|
@ -110,7 +119,10 @@ class IoniaCreateAccountPage extends BasePage {
|
|||
color: Theme.of(context).accentTextTheme.body2.color,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
),
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () async {
|
||||
if (await canLaunch(privacyPolicyUrl)) await launch(privacyPolicyUrl);
|
||||
}),
|
||||
TextSpan(text: ' ${S.of(context).by_cake_pay}'),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "U betaalt",
|
||||
"tip": "Tip:",
|
||||
"custom": "aangepast",
|
||||
"by_cake_pay": "door CakePay",
|
||||
"by_cake_pay": "door Cake Pay",
|
||||
"expires": "Verloopt",
|
||||
"mm": "MM",
|
||||
"yy": "JJ",
|
||||
|
|
|
@ -244,7 +244,7 @@
|
|||
"settings_only_transactions" : "Only transactions",
|
||||
"settings_none" : "None",
|
||||
"settings_support" : "Support",
|
||||
"settings_terms_and_conditions" : "Terms and conditions",
|
||||
"settings_terms_and_conditions" : "Terms and Conditions",
|
||||
"pin_is_incorrect" : "PIN is incorrect",
|
||||
|
||||
|
||||
|
@ -538,7 +538,7 @@
|
|||
"cake_pay_account_note": "Make an account to see the available cards. Some are even available at a discount!",
|
||||
"already_have_account": "Already have an account?",
|
||||
"create_account": "Create Account",
|
||||
"privacy_policy": "Privacy policy",
|
||||
"privacy_policy": "Privacy Policy",
|
||||
"welcome_to_cakepay": "Welcome to Cake Pay!",
|
||||
"sign_up": "Sign Up",
|
||||
"forgot_password": "Forgot Password",
|
||||
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "You pay",
|
||||
"tip": "Tip:",
|
||||
"custom": "custom",
|
||||
"by_cake_pay": "by CakePay",
|
||||
"by_cake_pay": "by Cake Pay",
|
||||
"expires": "Expires",
|
||||
"mm": "MM",
|
||||
"yy": "YY",
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "Tú pagas",
|
||||
"tip": "Consejo:",
|
||||
"personalizado": "personalizado",
|
||||
"by_cake_pay": "por CakePay",
|
||||
"by_cake_pay": "por Cake Pay",
|
||||
"expires": "Caduca",
|
||||
"mm": "mm",
|
||||
"yy": "YY",
|
||||
|
|
|
@ -242,7 +242,7 @@
|
|||
"settings_only_transactions" : "Seulement les transactions",
|
||||
"settings_none" : "Rien",
|
||||
"settings_support" : "Support",
|
||||
"settings_terms_and_conditions" : "Termes et conditions",
|
||||
"settings_terms_and_conditions" : "Termes et Conditions",
|
||||
"pin_is_incorrect" : "Le code PIN est incorrect",
|
||||
|
||||
|
||||
|
@ -589,7 +589,7 @@
|
|||
"you_pay": "Vous payez",
|
||||
"tip": "Astuce :",
|
||||
"custom": "personnalisé",
|
||||
"by_cake_pay": "par CakePay",
|
||||
"by_cake_pay": "par Cake Pay",
|
||||
"expire": "Expire",
|
||||
"mm": "MM",
|
||||
"yy": "AA",
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "Vi plaćate",
|
||||
"tip": "Savjet:",
|
||||
"custom": "prilagođeno",
|
||||
"by_cake_pay": "od CakePaya",
|
||||
"by_cake_pay": "od Cake Paya",
|
||||
"expires": "Ističe",
|
||||
"mm": "MM",
|
||||
"yy": "GG",
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "Tu paghi",
|
||||
"tip": "Suggerimento:",
|
||||
"custom": "personalizzato",
|
||||
"by_cake_pay": "da CakePay",
|
||||
"by_cake_pay": "da Cake Pay",
|
||||
"expires": "Scade",
|
||||
"mm": "mm",
|
||||
"yy": "YY",
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "あなたが支払う",
|
||||
"tip": "ヒント: ",
|
||||
"custom": "カスタム",
|
||||
"by_cake_pay": "by CakePay",
|
||||
"by_cake_pay": "by Cake Pay",
|
||||
"expires": "Expires",
|
||||
"mm": "んん",
|
||||
"yy": "YY",
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "당신이 지불합니다",
|
||||
"tip": "팁:",
|
||||
"custom": "커스텀",
|
||||
"by_cake_pay": "CakePay로",
|
||||
"by_cake_pay": "Cake Pay로",
|
||||
"expires": "만료",
|
||||
"mm": "mm",
|
||||
"YY": "YY",
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "Sie bezahlen",
|
||||
"tip": "Hinweis:",
|
||||
"custom": "benutzerdefiniert",
|
||||
"by_cake_pay": "von CakePay",
|
||||
"by_cake_pay": "von Cake Pay",
|
||||
"expires": "Läuft ab",
|
||||
"mm": "MM",
|
||||
"yy": "YY",
|
||||
|
|
|
@ -594,7 +594,7 @@
|
|||
"you_pay": "Płacisz",
|
||||
"tip": "wskazówka:",
|
||||
"custom": "niestandardowy",
|
||||
"by_cake_pay": "przez CakePay",
|
||||
"by_cake_pay": "przez Cake Pay",
|
||||
"expires": "Wygasa",
|
||||
"mm": "MM",
|
||||
"yy": "RR",
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "Você paga",
|
||||
"tip": "Dica:",
|
||||
"custom": "personalizado",
|
||||
"by_cake_pay": "por CakePay",
|
||||
"by_cake_pay": "por Cake Pay",
|
||||
"expires": "Expira",
|
||||
"mm": "MM",
|
||||
"yy": "aa",
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"you_pay": "Вы платите",
|
||||
"tip": "Совет:",
|
||||
"custom": "обычай",
|
||||
"by_cake_pay": "от CakePay",
|
||||
"by_cake_pay": "от Cake Pay",
|
||||
"expires": "Истекает",
|
||||
"mm": "ММ",
|
||||
"yy": "ГГ",
|
||||
|
|
|
@ -590,7 +590,7 @@
|
|||
"you_pay": "Ви платите",
|
||||
"tip": "Порада:",
|
||||
"custom": "на замовлення",
|
||||
"by_cake_pay": "від CakePay",
|
||||
"by_cake_pay": "від Cake Pay",
|
||||
"expires": "Закінчується",
|
||||
"mm": "MM",
|
||||
"yy": "YY",
|
||||
|
|
|
@ -589,7 +589,7 @@
|
|||
"you_pay": "你付钱",
|
||||
"tip": "提示:",
|
||||
"custom": "自定义",
|
||||
"by_cake_pay": "通过 CakePay",
|
||||
"by_cake_pay": "通过 Cake Pay",
|
||||
"expires": "过期",
|
||||
"mm": "毫米",
|
||||
"yy": "YY",
|
||||
|
|
Loading…
Reference in a new issue