diff --git a/screen/send/success.js b/screen/send/success.js index cd7a9602a..6a36363c3 100644 --- a/screen/send/success.js +++ b/screen/send/success.js @@ -15,7 +15,7 @@ const Success = () => { }; const { colors } = useTheme(); const { dangerouslyGetParent } = useNavigation(); - const { amount = 0, fee = 0, amountUnit = BitcoinUnit.BTC, invoiceDescription = '', onDonePressed = pop } = useRoute().params; + const { amount, fee, amountUnit = BitcoinUnit.BTC, invoiceDescription = '', onDonePressed = pop } = useRoute().params; const stylesHook = StyleSheet.create({ root: { backgroundColor: colors.elevated, @@ -76,10 +76,12 @@ export const SuccessView = ({ amount, amountUnit, fee, invoiceDescription, shoul - <> - {amount} - {' ' + amountUnit} - + {amount && ( + <> + {amount} + {' ' + amountUnit} + + )} {fee > 0 && (