enh: adapat text sizes

This commit is contained in:
poka 2024-01-07 17:11:45 +01:00
parent b37b9ad804
commit ef9e7b30f1
14 changed files with 25 additions and 22 deletions

View File

@ -234,5 +234,6 @@
"addressNotBelongToMnemonic": "The address you provided does not belong to this recovery sentence",
"enterYourNewMnemonic": "Enter your new recovery sentence",
"enterYourNewAddress": "Enter your new address {}",
"youCanMigrateThisIdentity": "You can migrate this identity !"
"youCanMigrateThisIdentity": "You can migrate this identity !",
"identityMigrated": "Identity migrated"
}

View File

@ -235,5 +235,6 @@
"addressNotBelongToMnemonic": "The address you provided does not belong to this recovery sentence",
"enterYourNewMnemonic": "Enter your new recovery sentence",
"enterYourNewAddress": "Enter your new address {}",
"youCanMigrateThisIdentity": "You can migrate this identity !"
"youCanMigrateThisIdentity": "You can migrate this identity !",
"identityMigrated": "Identity migrated"
}

View File

@ -234,5 +234,6 @@
"addressNotBelongToMnemonic": "L'adresse que vous avez fournit n'appartient pas à cette phrase de restauration",
"enterYourNewMnemonic": "Entrez votre nouvelle phrase de restauration",
"enterYourNewAddress": "Entrez votre nouvelle adresse {}",
"youCanMigrateThisIdentity": "Vous pouvez migrer vers cette identité !"
"youCanMigrateThisIdentity": "Vous pouvez migrer vers cette identité !",
"identityMigrated": "Identité migré"
}

View File

@ -169,7 +169,7 @@ class WalletOptionsProvider with ChangeNotifier {
title: Text(
'confirmYourIdentity'.tr(),
textAlign: TextAlign.center,
style: const TextStyle(fontSize: 20, fontWeight: FontWeight.w500),
style: const TextStyle(fontSize: 17, fontWeight: FontWeight.w500),
),
content: SizedBox(
height: 100,
@ -194,7 +194,7 @@ class WalletOptionsProvider with ChangeNotifier {
textAlign: TextAlign.center,
autofocus: true,
controller: idtyName,
style: const TextStyle(fontSize: 19),
style: const TextStyle(fontSize: 17),
),
const SizedBox(height: 10),
Consumer<WalletOptionsProvider>(builder: (context, wOptions, _) {

View File

@ -108,7 +108,7 @@ class RestoreChest extends StatelessWidget {
child: Text(
'restoreThisChest'.tr(),
style: scaledTextStyle(
fontSize: 20,
fontSize: 19,
fontWeight: FontWeight.w600,
color: Colors.white),
),

View File

@ -86,7 +86,7 @@ class WalletOptions extends StatelessWidget {
? duniterIndexer
.walletNameIndexer[walletOptions.address.text]!
: wallet.name!,
style: scaledTextStyle(fontSize: 20),
style: scaledTextStyle(fontSize: 18),
);
}),
actions: [

View File

@ -160,7 +160,7 @@ class _WalletsHomeState extends State<WalletsHome> {
'explainDraggableWallet'.tr(),
textAlign: TextAlign.center,
style: scaledTextStyle(
fontSize: 20, fontWeight: FontWeight.w500),
fontSize: 17, fontWeight: FontWeight.w500),
),
],
))

View File

@ -83,7 +83,7 @@ class OnboardingStepTen extends StatelessWidget {
Text(
"youHaveToBeConnectedToValidateChest".tr(),
style: scaledTextStyle(
fontSize: 20,
fontSize: 17,
color: Colors.redAccent,
fontWeight: FontWeight.w500,
),

View File

@ -194,7 +194,7 @@ class _TransactionInProgressState extends State<TransactionInProgress> {
child: Text(
'close'.tr(),
style: scaledTextStyle(
fontSize: 20, fontWeight: FontWeight.w600),
fontSize: 19, fontWeight: FontWeight.w600),
),
),
),

View File

@ -79,7 +79,7 @@ class ChestOptionsButtons extends StatelessWidget {
],
),
),
ScaledSizedBox(height: 20),
// ScaledSizedBox(height: 20),
// InkWell(
// key: keyChangeChest,
// onTap: () {

View File

@ -112,7 +112,7 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1,
child: Text(
"yes".tr(),
style: scaledTextStyle(
fontSize: 20,
fontSize: 19,
color: const Color(0xffD80000),
),
),
@ -124,7 +124,7 @@ Future<bool?> confirmPopupCertification(BuildContext context, String question1,
TextButton(
child: Text(
"no".tr(),
style: scaledTextStyle(fontSize: 20),
style: scaledTextStyle(fontSize: 19),
),
onPressed: () {
Navigator.pop(context, false);

View File

@ -34,7 +34,7 @@ class HistoryView extends StatelessWidget {
ScaledSizedBox(height: 50),
Text(
"noTransactionToDisplay".tr(),
style: scaledTextStyle(fontSize: 18),
style: scaledTextStyle(fontSize: 17),
)
])
: Column(children: <Widget>[
@ -59,17 +59,17 @@ class HistoryView extends StatelessWidget {
children: [
Image(
image: const AssetImage('assets/party.png'),
height: scaleSize(32)),
height: scaleSize(31)),
Text(
'blockchainStart'.tr(),
style: scaledTextStyle(
fontSize: 20,
fontSize: 19,
color: Colors.blueAccent,
fontWeight: FontWeight.w500),
),
Image(
image: const AssetImage('assets/party.png'),
height: scaleSize(32)),
height: scaleSize(31)),
],
),
),
@ -82,7 +82,7 @@ class HistoryView extends StatelessWidget {
child: Text(
answer['dateDelimiter'],
style: scaledTextStyle(
fontSize: 20,
fontSize: 19,
color: orangeC,
fontWeight: FontWeight.w300),
),
@ -128,9 +128,9 @@ class HistoryView extends StatelessWidget {
),
Column(children: [
Text(
'Identité migré:'.tr(),
'identityMigrated:'.tr(),
style: scaledTextStyle(
fontSize: 20,
fontSize: 19,
color: Colors.green[700],
fontWeight: FontWeight.w500),
),

View File

@ -136,7 +136,7 @@ void paymentPopup(BuildContext context, String toAddress, String? username) {
Text(
'executeATransfer'.tr(),
style: scaledTextStyle(
fontSize: 20, fontWeight: FontWeight.w700),
fontSize: 19, fontWeight: FontWeight.w700),
),
IconButton(
key: keyPopButton,

View File

@ -108,7 +108,7 @@ class _TransactionInProgressTuleState extends State<TransactionInProgressTule> {
Text(
'Transaction en cours',
style: scaledTextStyle(
fontSize: 20,
fontSize: 19,
color: Colors.blueAccent,
fontWeight: FontWeight.w400),
),