diff --git a/mobile-app/app/components/SummaryTitle.tsx b/mobile-app/app/components/SummaryTitle.tsx index 708417591a..280cc2b62d 100644 --- a/mobile-app/app/components/SummaryTitle.tsx +++ b/mobile-app/app/components/SummaryTitle.tsx @@ -40,7 +40,10 @@ export function SummaryTitle(props: ISummaryTitleProps): JSX.Element { const IconB = props.iconB !== undefined ? getNativeIcon(props.iconB) : undefined; const { networkName } = useNetworkContext(); - + const toAddressLabel = + props.toAddressLabel != null && props.toAddressLabel.length > 0 + ? props.toAddressLabel + : props.toAddress; return ( <> <> @@ -152,14 +155,22 @@ export function SummaryTitle(props: ISummaryTitleProps): JSX.Element { )} - {props.toAddressLabel} + {toAddressLabel} @@ -196,7 +207,7 @@ export function SummaryTitle(props: ISummaryTitleProps): JSX.Element { dark={tailwind("text-mono-dark-v2-900")} testID="address_input_footer" > - {props.toAddressLabel} + {toAddressLabel} )}