From 09c869e67c4f1b7f91f39fbd3c8fc5e1696ca946 Mon Sep 17 00:00:00 2001 From: poka Date: Thu, 23 Mar 2023 00:24:34 +0100 Subject: [PATCH] increase font size on wallets views --- assets/translations/en.json | 3 ++- assets/translations/es.json | 3 ++- assets/translations/fr.json | 3 ++- lib/screens/certifications.dart | 12 +++++++++--- lib/screens/myWallets/wallet_options.dart | 4 ++-- lib/widgets/cert_tile.dart | 5 +++-- lib/widgets/header_profile.dart | 6 +++--- lib/widgets/idty_status.dart | 2 +- 8 files changed, 24 insertions(+), 14 deletions(-) diff --git a/assets/translations/en.json b/assets/translations/en.json index ea378ec..91a2443 100644 --- a/assets/translations/en.json +++ b/assets/translations/en.json @@ -217,5 +217,6 @@ "youHaveToBeConnectedToValidateChest": "You have to be connected\nto validate your chest", "thisIdentityAlreadyExist": "This identity already exists", "removedFromcontacts": "Removed from contacts", - "addedToContacts": "Added to contacts" + "addedToContacts": "Added to contacts", + "certificationsOf": "Certifications of {}" } \ No newline at end of file diff --git a/assets/translations/es.json b/assets/translations/es.json index ff6fc7b..79b4147 100644 --- a/assets/translations/es.json +++ b/assets/translations/es.json @@ -218,5 +218,6 @@ "youHaveToBeConnectedToValidateChest": "Tienes que tener conneción\npara validar tu cofre", "thisIdentityAlreadyExist": "Esta identidad ya existe", "removedFromcontacts": "Removed from contacts", - "addedToContacts": "Added to contacts" + "addedToContacts": "Added to contacts", + "certificationsOf": "Certifications of {}" } \ No newline at end of file diff --git a/assets/translations/fr.json b/assets/translations/fr.json index d1f1837..d145003 100644 --- a/assets/translations/fr.json +++ b/assets/translations/fr.json @@ -217,5 +217,6 @@ "youHaveToBeConnectedToValidateChest": "Vous devez vous connecter à internet\npour valider votre coffre", "thisIdentityAlreadyExist": "Cette identité existe déjà", "removedFromcontacts": "Retiré des contact", - "addedToContacts": "Ajouté au contacts" + "addedToContacts": "Ajouté au contacts", + "certificationsOf": "Certifications de {}" } \ No newline at end of file diff --git a/lib/screens/certifications.dart b/lib/screens/certifications.dart index 67237e7..4502563 100644 --- a/lib/screens/certifications.dart +++ b/lib/screens/certifications.dart @@ -23,7 +23,7 @@ class CertificationsScreen extends StatelessWidget { toolbarHeight: 60 * ratio, title: SizedBox( height: 22, - child: Text('Certifications de $username'), + child: Text('certificationsOf'.tr(args: [username])), )), body: SafeArea( child: Accordion( @@ -45,7 +45,10 @@ class CertificationsScreen extends StatelessWidget { headerBackgroundColor: yellowC, headerBackgroundColorOpened: orangeC, header: Row(children: [ - Text('received'.tr()), + Text( + 'received'.tr(), + style: const TextStyle(fontSize: 20), + ), const SizedBox(width: 5), CertsCounter(address: address) ]), @@ -60,7 +63,10 @@ class CertificationsScreen extends StatelessWidget { headerBackgroundColor: yellowC, headerBackgroundColorOpened: orangeC, header: Row(children: [ - Text('sent'.tr()), + Text( + 'sent'.tr(), + style: const TextStyle(fontSize: 20), + ), const SizedBox(width: 5), CertsCounter(address: address, isSent: true) ]), diff --git a/lib/screens/myWallets/wallet_options.dart b/lib/screens/myWallets/wallet_options.dart index ca812c1..444c4b1 100644 --- a/lib/screens/myWallets/wallet_options.dart +++ b/lib/screens/myWallets/wallet_options.dart @@ -146,7 +146,7 @@ class WalletOptions extends StatelessWidget { builder: (context, walletProvider, _) { return NameByAddress( wallet: wallet, - size: 27, + size: 29, color: Colors.black, fontWeight: wallet.isMember ? FontWeight.w500 @@ -183,7 +183,7 @@ class WalletOptions extends StatelessWidget { ]), SizedBox(height: isTall ? 5 : 0), Balance( - address: walletProvider.address.text, size: 21), + address: walletProvider.address.text, size: 24), const SizedBox(width: 30), InkWell( onTap: () => isWalletNameIndexed diff --git a/lib/widgets/cert_tile.dart b/lib/widgets/cert_tile.dart index 4ccef80..67402c7 100644 --- a/lib/widgets/cert_tile.dart +++ b/lib/widgets/cert_tile.dart @@ -37,12 +37,12 @@ class CertTile extends StatelessWidget { title: Padding( padding: const EdgeInsets.only(bottom: 5), child: Text(repository['name'], - style: const TextStyle(fontSize: 20)), + style: const TextStyle(fontSize: 22)), ), subtitle: RichText( text: TextSpan( style: TextStyle( - fontSize: 16, + fontSize: 18, color: Colors.grey[700], ), children: [ @@ -62,6 +62,7 @@ class CertTile extends StatelessWidget { style: TextStyle( fontStyle: FontStyle.italic, color: Colors.grey[600], + fontSize: 18 ), ), ], diff --git a/lib/widgets/header_profile.dart b/lib/widgets/header_profile.dart index a7d8569..3f51206 100644 --- a/lib/widgets/header_profile.dart +++ b/lib/widgets/header_profile.dart @@ -74,9 +74,9 @@ class HeaderProfile extends StatelessWidget { ), ), ]), - const SizedBox(height: 25), - Balance(address: address, size: 22), - const SizedBox(height: 10), + const SizedBox(height: 23), + Balance(address: address, size: 25), + const SizedBox(height: 9), InkWell( onTap: () => duniterIndexer.walletNameIndexer[address] != null ? { diff --git a/lib/widgets/idty_status.dart b/lib/widgets/idty_status.dart index 48f2de8..9dd6810 100644 --- a/lib/widgets/idty_status.dart +++ b/lib/widgets/idty_status.dart @@ -54,7 +54,7 @@ class IdentityStatus extends StatelessWidget { ? showText('memberValidated'.tr(), 18, true) : NameByAddress( wallet: WalletData(address: address), - size: 20, + size: 24, color: Colors.black, fontWeight: FontWeight.w600, fontStyle: FontStyle.normal);