From cfbb5b5b248cb83d3af7bc34aa08e16e3f8bb881 Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Mon, 11 Nov 2024 11:27:16 +0200 Subject: [PATCH 1/2] Fix typos, edit min balance msg --- app/lib/screens/identity_verification_screen.dart | 2 +- app/lib/screens/wallets/send.dart | 3 ++- app/lib/screens/wizard/page4.dart | 2 +- app/lib/widgets/wizard/common_page.dart | 8 +++++--- app/lib/widgets/wizard/terms_and_conditions.dart | 6 +++++- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/app/lib/screens/identity_verification_screen.dart b/app/lib/screens/identity_verification_screen.dart index e74a98f2f..996972689 100644 --- a/app/lib/screens/identity_verification_screen.dart +++ b/app/lib/screens/identity_verification_screen.dart @@ -1189,7 +1189,7 @@ class _IdentityVerificationScreenState image: Icons.warning, title: 'Not enough balance', description: - "You don't have enough balance.\nPlease fund your account at least $minimumBalance TFTs.", + 'Please fund your account at least $minimumBalance TFTs.', actions: [ TextButton( child: const Text('Close'), diff --git a/app/lib/screens/wallets/send.dart b/app/lib/screens/wallets/send.dart index a8e015a1e..0aaba12e0 100644 --- a/app/lib/screens/wallets/send.dart +++ b/app/lib/screens/wallets/send.dart @@ -252,7 +252,8 @@ class _WalletSendScreenState extends State { style: Theme.of(context).textTheme.bodyMedium!.copyWith( color: Theme.of(context).colorScheme.onSurface, ), - keyboardType: const TextInputType.numberWithOptions(decimal: true), + keyboardType: + const TextInputType.numberWithOptions(decimal: true), controller: amountController, decoration: InputDecoration( labelText: 'Amount (Balance: $balance)', diff --git a/app/lib/screens/wizard/page4.dart b/app/lib/screens/wizard/page4.dart index dd171f6f5..1578b3704 100644 --- a/app/lib/screens/wizard/page4.dart +++ b/app/lib/screens/wizard/page4.dart @@ -10,7 +10,7 @@ class Page4 extends StatelessWidget { title: 'THREEFOLD', subtitle: 'NEWS', imagePath: 'assets/news_outline.png', - description: "Stay up to date with ThreeFolds' latest news", + description: "Stay up to date with ThreeFold's latest news", heightPercentage: 0.35, widthPercentage: 0.70, ); diff --git a/app/lib/widgets/wizard/common_page.dart b/app/lib/widgets/wizard/common_page.dart index 92aabaf9c..46e7dd425 100644 --- a/app/lib/widgets/wizard/common_page.dart +++ b/app/lib/widgets/wizard/common_page.dart @@ -34,7 +34,6 @@ class _CommonPageState extends State { bool attemptToContinue = false; final termsAndConditionsUrl = Globals().termsAndConditionsUrl; - @override Widget build(BuildContext context) { return Scaffold( @@ -152,7 +151,7 @@ class _CommonPageState extends State { text: TextSpan( children: [ TextSpan( - text: "I agree to ThreeFolds' ", + text: "I agree to ThreeFold's ", style: Theme.of(context) .textTheme .bodyMedium! @@ -184,7 +183,10 @@ class _CommonPageState extends State { Navigator.push( context, MaterialPageRoute( - builder: (context) => WebView(title: 'Terms and Conditions', url: termsAndConditionsUrl,)), + builder: (context) => WebView( + title: 'Terms and Conditions', + url: termsAndConditionsUrl, + )), ); }, ), diff --git a/app/lib/widgets/wizard/terms_and_conditions.dart b/app/lib/widgets/wizard/terms_and_conditions.dart index 05d4f0509..48cb22a8a 100644 --- a/app/lib/widgets/wizard/terms_and_conditions.dart +++ b/app/lib/widgets/wizard/terms_and_conditions.dart @@ -36,7 +36,11 @@ class _TermsAndConditionsState extends State { onTap: () { Navigator.push( context, - MaterialPageRoute(builder: (context) => WebView(url: termsAndConditionsUrl, title: 'Terms and Conditions', )), + MaterialPageRoute( + builder: (context) => WebView( + url: termsAndConditionsUrl, + title: 'Terms and Conditions', + )), ); }, child: Text('Terms & Conditions', From 0574452f2e580369ab308b5c1d3fd7dcaf1440ac Mon Sep 17 00:00:00 2001 From: zaelgohary Date: Mon, 11 Nov 2024 11:32:34 +0200 Subject: [PATCH 2/2] Edit min balance msg --- app/lib/screens/identity_verification_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/screens/identity_verification_screen.dart b/app/lib/screens/identity_verification_screen.dart index 996972689..3c3737375 100644 --- a/app/lib/screens/identity_verification_screen.dart +++ b/app/lib/screens/identity_verification_screen.dart @@ -1189,7 +1189,7 @@ class _IdentityVerificationScreenState image: Icons.warning, title: 'Not enough balance', description: - 'Please fund your account at least $minimumBalance TFTs.', + 'Please fund your account with at least $minimumBalance TFTs.', actions: [ TextButton( child: const Text('Close'),