Skip to content
Snippets Groups Projects
Commit ef9e7b30 authored by poka's avatar poka
Browse files

enh: adapat text sizes

parent b37b9ad8
Branches
Tags
No related merge requests found
Pipeline #35184 waiting for manual action
Showing with 25 additions and 22 deletions
...@@ -234,5 +234,6 @@ ...@@ -234,5 +234,6 @@
"addressNotBelongToMnemonic": "The address you provided does not belong to this recovery sentence", "addressNotBelongToMnemonic": "The address you provided does not belong to this recovery sentence",
"enterYourNewMnemonic": "Enter your new recovery sentence", "enterYourNewMnemonic": "Enter your new recovery sentence",
"enterYourNewAddress": "Enter your new address {}", "enterYourNewAddress": "Enter your new address {}",
"youCanMigrateThisIdentity": "You can migrate this identity !" "youCanMigrateThisIdentity": "You can migrate this identity !",
"identityMigrated": "Identity migrated"
} }
\ No newline at end of file
...@@ -235,5 +235,6 @@ ...@@ -235,5 +235,6 @@
"addressNotBelongToMnemonic": "The address you provided does not belong to this recovery sentence", "addressNotBelongToMnemonic": "The address you provided does not belong to this recovery sentence",
"enterYourNewMnemonic": "Enter your new recovery sentence", "enterYourNewMnemonic": "Enter your new recovery sentence",
"enterYourNewAddress": "Enter your new address {}", "enterYourNewAddress": "Enter your new address {}",
"youCanMigrateThisIdentity": "You can migrate this identity !" "youCanMigrateThisIdentity": "You can migrate this identity !",
"identityMigrated": "Identity migrated"
} }
\ No newline at end of file
...@@ -234,5 +234,6 @@ ...@@ -234,5 +234,6 @@
"addressNotBelongToMnemonic": "L'adresse que vous avez fournit n'appartient pas à cette phrase de restauration", "addressNotBelongToMnemonic": "L'adresse que vous avez fournit n'appartient pas à cette phrase de restauration",
"enterYourNewMnemonic": "Entrez votre nouvelle phrase de restauration", "enterYourNewMnemonic": "Entrez votre nouvelle phrase de restauration",
"enterYourNewAddress": "Entrez votre nouvelle adresse {}", "enterYourNewAddress": "Entrez votre nouvelle adresse {}",
"youCanMigrateThisIdentity": "Vous pouvez migrer vers cette identité !" "youCanMigrateThisIdentity": "Vous pouvez migrer vers cette identité !",
"identityMigrated": "Identité migré"
} }
\ No newline at end of file
...@@ -169,7 +169,7 @@ class WalletOptionsProvider with ChangeNotifier { ...@@ -169,7 +169,7 @@ class WalletOptionsProvider with ChangeNotifier {
title: Text( title: Text(
'confirmYourIdentity'.tr(), 'confirmYourIdentity'.tr(),
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: const TextStyle(fontSize: 20, fontWeight: FontWeight.w500), style: const TextStyle(fontSize: 17, fontWeight: FontWeight.w500),
), ),
content: SizedBox( content: SizedBox(
height: 100, height: 100,
...@@ -194,7 +194,7 @@ class WalletOptionsProvider with ChangeNotifier { ...@@ -194,7 +194,7 @@ class WalletOptionsProvider with ChangeNotifier {
textAlign: TextAlign.center, textAlign: TextAlign.center,
autofocus: true, autofocus: true,
controller: idtyName, controller: idtyName,
style: const TextStyle(fontSize: 19), style: const TextStyle(fontSize: 17),
), ),
const SizedBox(height: 10), const SizedBox(height: 10),
Consumer<WalletOptionsProvider>(builder: (context, wOptions, _) { Consumer<WalletOptionsProvider>(builder: (context, wOptions, _) {
......
...@@ -108,7 +108,7 @@ class RestoreChest extends StatelessWidget { ...@@ -108,7 +108,7 @@ class RestoreChest extends StatelessWidget {
child: Text( child: Text(
'restoreThisChest'.tr(), 'restoreThisChest'.tr(),
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontSize: 19,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
color: Colors.white), color: Colors.white),
), ),
......
...@@ -86,7 +86,7 @@ class WalletOptions extends StatelessWidget { ...@@ -86,7 +86,7 @@ class WalletOptions extends StatelessWidget {
? duniterIndexer ? duniterIndexer
.walletNameIndexer[walletOptions.address.text]! .walletNameIndexer[walletOptions.address.text]!
: wallet.name!, : wallet.name!,
style: scaledTextStyle(fontSize: 20), style: scaledTextStyle(fontSize: 18),
); );
}), }),
actions: [ actions: [
......
...@@ -160,7 +160,7 @@ class _WalletsHomeState extends State<WalletsHome> { ...@@ -160,7 +160,7 @@ class _WalletsHomeState extends State<WalletsHome> {
'explainDraggableWallet'.tr(), 'explainDraggableWallet'.tr(),
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontWeight: FontWeight.w500), fontSize: 17, fontWeight: FontWeight.w500),
), ),
], ],
)) ))
......
...@@ -83,7 +83,7 @@ class OnboardingStepTen extends StatelessWidget { ...@@ -83,7 +83,7 @@ class OnboardingStepTen extends StatelessWidget {
Text( Text(
"youHaveToBeConnectedToValidateChest".tr(), "youHaveToBeConnectedToValidateChest".tr(),
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontSize: 17,
color: Colors.redAccent, color: Colors.redAccent,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
), ),
......
...@@ -194,7 +194,7 @@ class _TransactionInProgressState extends State<TransactionInProgress> { ...@@ -194,7 +194,7 @@ class _TransactionInProgressState extends State<TransactionInProgress> {
child: Text( child: Text(
'close'.tr(), 'close'.tr(),
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontWeight: FontWeight.w600), fontSize: 19, fontWeight: FontWeight.w600),
), ),
), ),
), ),
......
...@@ -79,7 +79,7 @@ class ChestOptionsButtons extends StatelessWidget { ...@@ -79,7 +79,7 @@ class ChestOptionsButtons extends StatelessWidget {
], ],
), ),
), ),
ScaledSizedBox(height: 20), // ScaledSizedBox(height: 20),
// InkWell( // InkWell(
// key: keyChangeChest, // key: keyChangeChest,
// onTap: () { // onTap: () {
......
...@@ -112,7 +112,7 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1, ...@@ -112,7 +112,7 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1,
child: Text( child: Text(
"yes".tr(), "yes".tr(),
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontSize: 19,
color: const Color(0xffD80000), color: const Color(0xffD80000),
), ),
), ),
...@@ -124,7 +124,7 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1, ...@@ -124,7 +124,7 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1,
TextButton( TextButton(
child: Text( child: Text(
"no".tr(), "no".tr(),
style: scaledTextStyle(fontSize: 20), style: scaledTextStyle(fontSize: 19),
), ),
onPressed: () { onPressed: () {
Navigator.pop(context, false); Navigator.pop(context, false);
......
...@@ -34,7 +34,7 @@ class HistoryView extends StatelessWidget { ...@@ -34,7 +34,7 @@ class HistoryView extends StatelessWidget {
ScaledSizedBox(height: 50), ScaledSizedBox(height: 50),
Text( Text(
"noTransactionToDisplay".tr(), "noTransactionToDisplay".tr(),
style: scaledTextStyle(fontSize: 18), style: scaledTextStyle(fontSize: 17),
) )
]) ])
: Column(children: <Widget>[ : Column(children: <Widget>[
...@@ -59,17 +59,17 @@ class HistoryView extends StatelessWidget { ...@@ -59,17 +59,17 @@ class HistoryView extends StatelessWidget {
children: [ children: [
Image( Image(
image: const AssetImage('assets/party.png'), image: const AssetImage('assets/party.png'),
height: scaleSize(32)), height: scaleSize(31)),
Text( Text(
'blockchainStart'.tr(), 'blockchainStart'.tr(),
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontSize: 19,
color: Colors.blueAccent, color: Colors.blueAccent,
fontWeight: FontWeight.w500), fontWeight: FontWeight.w500),
), ),
Image( Image(
image: const AssetImage('assets/party.png'), image: const AssetImage('assets/party.png'),
height: scaleSize(32)), height: scaleSize(31)),
], ],
), ),
), ),
...@@ -82,7 +82,7 @@ class HistoryView extends StatelessWidget { ...@@ -82,7 +82,7 @@ class HistoryView extends StatelessWidget {
child: Text( child: Text(
answer['dateDelimiter'], answer['dateDelimiter'],
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontSize: 19,
color: orangeC, color: orangeC,
fontWeight: FontWeight.w300), fontWeight: FontWeight.w300),
), ),
...@@ -128,9 +128,9 @@ class HistoryView extends StatelessWidget { ...@@ -128,9 +128,9 @@ class HistoryView extends StatelessWidget {
), ),
Column(children: [ Column(children: [
Text( Text(
'Identité migré:'.tr(), 'identityMigrated:'.tr(),
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontSize: 19,
color: Colors.green[700], color: Colors.green[700],
fontWeight: FontWeight.w500), fontWeight: FontWeight.w500),
), ),
......
...@@ -136,7 +136,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) { ...@@ -136,7 +136,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
Text( Text(
'executeATransfer'.tr(), 'executeATransfer'.tr(),
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontWeight: FontWeight.w700), fontSize: 19, fontWeight: FontWeight.w700),
), ),
IconButton( IconButton(
key: keyPopButton, key: keyPopButton,
......
...@@ -108,7 +108,7 @@ class _TransactionInProgressTuleState extends State<TransactionInProgressTule> { ...@@ -108,7 +108,7 @@ class _TransactionInProgressTuleState extends State<TransactionInProgressTule> {
Text( Text(
'Transaction en cours', 'Transaction en cours',
style: scaledTextStyle( style: scaledTextStyle(
fontSize: 20, fontSize: 19,
color: Colors.blueAccent, color: Colors.blueAccent,
fontWeight: FontWeight.w400), fontWeight: FontWeight.w400),
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment