Skip to content

Commit

Permalink
chore: 💄 Add titles
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Oct 9, 2024
1 parent 28f7772 commit 963c6ab
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -722,5 +722,7 @@
"time7d": "7d",
"timeAll": "All",
"poolDetailsInfoVolume": "Volume",
"poolDetailsInfoFees": "Fees"
"poolDetailsInfoFees": "Fees",
"swapInfosDetailSwap": "Swap infos",
"swapInfosDetailPool": "Pool infos"
}
4 changes: 3 additions & 1 deletion lib/l10n/intl_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -702,5 +702,7 @@
"time7d": "7j",
"timeAll": "total",
"poolDetailsInfoVolume": "Volume",
"poolDetailsInfoFees": "Frais"
"poolDetailsInfoFees": "Frais",
"swapInfosDetailSwap": "Informations liées à l'échange",
"swapInfosDetailPool": "Informations liées à la pool"
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ class FarmLockDetailsInfo extends ConsumerWidget {
padding: const EdgeInsets.only(left: 5),
child: SelectableText(
AppLocalizations.of(context)!.levelsInfo,
style: AppTextStyles.bodyLarge(context),
style: AppTextStyles.bodyMedium(context)
.copyWith(fontWeight: FontWeight.bold),
),
),
...farmLock.stats.entries.map(
Expand Down
16 changes: 16 additions & 0 deletions lib/ui/views/aeswap_swap/layouts/components/swap_infos.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,25 @@ class SwapInfos extends ConsumerWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(left: 5),
child: Text(
AppLocalizations.of(context)!.swapInfosDetailSwap,
style: AppTextStyles.bodyMedium(context)
.copyWith(fontWeight: FontWeight.bold),
),
),
_buildRowWithFees(context, ref, swap),
_buildRowWithPriceImpact(context, swap),
_buildRowWithMinReceived(context, ref, swap),
Padding(
padding: const EdgeInsets.only(top: 10, left: 5),
child: Text(
AppLocalizations.of(context)!.swapInfosDetailPool,
style: AppTextStyles.bodyMedium(context)
.copyWith(fontWeight: FontWeight.bold),
),
),
_buildRowWithTVL(context, tvlAsyncValue),
_buildRowWithRatio(context, swap, tokenAddressRatioPrimary),
FutureBuilder<DexPoolStats>(
Expand Down

0 comments on commit 963c6ab

Please sign in to comment.