From b092e5d95a0feb1f28b09a21ca9168e9c732c121 Mon Sep 17 00:00:00 2001 From: Javier Bueno Date: Fri, 2 Aug 2024 21:40:37 +0200 Subject: [PATCH] fix(swap): confirm tx summaru texst color --- .../Swap/useCases/ConfirmTxScreen/TransactionSummary.tsx | 4 ++-- .../src/features/Transactions/useCases/TxList/TxList.tsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/wallet-mobile/src/features/Swap/useCases/ConfirmTxScreen/TransactionSummary.tsx b/apps/wallet-mobile/src/features/Swap/useCases/ConfirmTxScreen/TransactionSummary.tsx index c41b20f707..384f6561d7 100644 --- a/apps/wallet-mobile/src/features/Swap/useCases/ConfirmTxScreen/TransactionSummary.tsx +++ b/apps/wallet-mobile/src/features/Swap/useCases/ConfirmTxScreen/TransactionSummary.tsx @@ -275,7 +275,7 @@ const useStyles = () => { }, cardText: { fontSize: 18, - color: color.gray_cmin, + color: color.white_static, }, cardTextValue: { ...atoms.heading_4_medium, @@ -284,7 +284,7 @@ const useStyles = () => { }, pairedText: { fontSize: 14, - color: color.gray_cmin, + color: color.white_static, opacity: 0.75, }, flexBetween: { diff --git a/apps/wallet-mobile/src/features/Transactions/useCases/TxList/TxList.tsx b/apps/wallet-mobile/src/features/Transactions/useCases/TxList/TxList.tsx index a06d5d3200..50bfed32d0 100644 --- a/apps/wallet-mobile/src/features/Transactions/useCases/TxList/TxList.tsx +++ b/apps/wallet-mobile/src/features/Transactions/useCases/TxList/TxList.tsx @@ -29,6 +29,7 @@ export const TxList = (props: Props) => { React.useEffect(() => { setLoadedTxs(filteredTransactions.slice(0, currentIndex + batchSize)) + setCurrentIndex(currentIndex + batchSize) // eslint-disable-next-line react-hooks/exhaustive-deps }, [transactionInfos]) // must be transactionInfos