From e93458ddceb8ab17d78046b39d5e1b1cc6a95cf7 Mon Sep 17 00:00:00 2001 From: JavidHaji-zada Date: Wed, 10 Jan 2024 14:17:00 +0400 Subject: [PATCH] added estimated fee in SendFunds, fixed translation issues --- src/components/templates/BottomSheetSharePortfolio/index.tsx | 4 +++- src/components/templates/TransactionDetails/index.tsx | 2 +- src/localization/locales/English.json | 1 + src/localization/locales/Turkish.json | 1 + src/screens/SendFunds/screens/SendFundsStatus/index.tsx | 4 +++- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/templates/BottomSheetSharePortfolio/index.tsx b/src/components/templates/BottomSheetSharePortfolio/index.tsx index 7b476a56d..8d6da69c3 100644 --- a/src/components/templates/BottomSheetSharePortfolio/index.tsx +++ b/src/components/templates/BottomSheetSharePortfolio/index.tsx @@ -15,6 +15,7 @@ import { scale, verticalScale } from '@utils/scaling'; import { ShareUtils } from '@utils/share'; import { Social } from '@appTypes/Sharing'; import { styles } from './styles'; +import { useTranslation } from 'react-i18next'; interface SharePortfolioProps extends PortfolioPerformanceProps { ref: RefObject; @@ -26,6 +27,7 @@ export const SharePortfolio = forwardRef( const { bottomSheetTitle, ...portfolioBalanceProps } = props; const localRef: ForwardedRef = useForwardedRef(ref); const shareRef = useRef(null); + const { t } = useTranslation(); const onSharePress = async (type?: Social) => { const captureOptions: CaptureOptions = { @@ -103,7 +105,7 @@ export const SharePortfolio = forwardRef( - Messages + {t('common.messages')}