From a6103bfd92da2ced4e3c62c05b99d1295c6fba35 Mon Sep 17 00:00:00 2001 From: Lyka Labrada Date: Tue, 24 Oct 2023 00:10:56 +0800 Subject: [PATCH] fix(ui-ux): display evm address as from on convert --- .../screens/Portfolio/screens/ConvertConfirmationScreen.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mobile-app/app/screens/AppNavigator/screens/Portfolio/screens/ConvertConfirmationScreen.tsx b/mobile-app/app/screens/AppNavigator/screens/Portfolio/screens/ConvertConfirmationScreen.tsx index b4cba246ab..c5e8278818 100644 --- a/mobile-app/app/screens/AppNavigator/screens/Portfolio/screens/ConvertConfirmationScreen.tsx +++ b/mobile-app/app/screens/AppNavigator/screens/Portfolio/screens/ConvertConfirmationScreen.tsx @@ -200,7 +200,11 @@ export function ConvertConfirmationScreen({ route }: Props): JSX.Element { ? "DFI (EVM)" : targetToken.displaySymbol } - fromAddress={address} + fromAddress={ + convertDirection === ConvertDirection.evmToDvm + ? evmAddress + : address + } fromAddressLabel={addressLabel} isEvmToken={convertDirection === ConvertDirection.dvmToEvm} />