Skip to content

Commit

Permalink
chore: 💄 Improve Send Sheet UI
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Oct 24, 2024
1 parent 736bbe3 commit fc7dda5
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
4 changes: 3 additions & 1 deletion lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"enterAmountIn": "Enter Amount in %1",
"enterAddress": "Enter Address or contact's name",
"enterAddressHelp": "If you enter a name, please prefix it with @.",
"enterMessageInfo": "NB: The message size increases the transaction fees.",
"userCancelledOperation": "User cancelled operation",
"transactionConfirmationFormHeader": "Request for confirmation",
"unknownAccount": "Account %1 does not exist.",
Expand Down Expand Up @@ -442,7 +443,8 @@
"removeKeychainAction": "Remove",
"removeKeychainLater": "You will be able to find your account if you recreate it later with the same name.",
"removeKeychainAtLeast1": "You must keep at least one account in your keychain.",
"balance": "Balance",
"ucoBalance": "UCO balance",
"tokenBalance": "Token balance",
"executionSC": "Smart-contract execution",
"seedHex": "View in Hexadecimal",
"burnAddressLbl": "Burn address",
Expand Down
4 changes: 3 additions & 1 deletion lib/l10n/intl_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"enterAmountIn": "Entrer le montant en %1",
"enterAddress": "Entrer l'adresse ou le nom du contact",
"enterAddressHelp": "Si vous saisissez un nom, veuillez le préfixer d'un @",
"enterMessageInfo": "NB: La taille du message augmente les frais de transaction.",
"userCancelledOperation": "Opération annulée par l'utilisateur",
"transactionConfirmationFormHeader": "Demande de confirmation",
"unknownAccount": "Le compte %1 n'existe pas.",
Expand Down Expand Up @@ -422,7 +423,8 @@
"removeKeychainAction": "Retirer le compte",
"removeKeychainLater": "Vous pourrez retrouver votre compte si vous le récréez plus tard avec le même nom.",
"removeKeychainAtLeast1": "Vous devez conserver au moins un service dans votre porte-clés.",
"balance": "Balance",
"ucoBalance": "Balance UCO",
"tokenBalance": "Balance Token",
"executionSC": "Exécution Smart-contract",
"seedHex": "Voir en hexadécimal",
"burnAddressLbl": "Adresse de destruction",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class _TransferTextFieldAddressState
),
),
Padding(
padding: const EdgeInsets.only(top: 5),
padding: const EdgeInsets.only(top: 5, bottom: 10),
child: Text(
AppLocalizations.of(context)!.enterAddressHelp,
style: ArchethicThemeStyles.textStyleSize10W100Primary,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class _TransferTextFieldAmountState
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
AutoSizeText(
'${localizations.balance}:',
'${localizations.tokenBalance}:',
style: ArchethicThemeStyles.textStyleSize14W200Primary,
),
Row(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ class _TransferTextFieldMessageState
],
),
),
Padding(
padding: const EdgeInsets.only(top: 5, bottom: 10),
child: Text(
AppLocalizations.of(context)!.enterMessageInfo,
style: ArchethicThemeStyles.textStyleSize10W100Primary,
),
),
],
)
.animate()
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/balance/balance_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class BalanceIndicatorWidget extends ConsumerWidget {
children: [
if (displayLabel)
Text(
'${localizations.balance}: ',
'${localizations.ucoBalance}: ',
style: ArchethicThemeStyles.textStyleSize14W200Primary,
),
if (displaySwitchButton == true)
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/components/paste_icon.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PasteIcon extends TextFieldButton {
@override
Widget build(BuildContext context, WidgetRef ref) {
return TextFieldButton(
icon: Symbols.content_copy,
icon: Symbols.content_paste,
onPressed: () {
Clipboard.getData('text/plain').then((ClipboardData? data) async {
if (data == null || data.text == null) {
Expand Down

0 comments on commit fc7dda5

Please sign in to comment.