FIX: Use preferred unit for min and max information

This commit is contained in:
Marcos Rodriguez Vélez 2021-08-30 12:20:45 -04:00
parent 6df18b0805
commit c52de328e7

View File

@ -182,8 +182,8 @@ const LnurlPay = () => {
/>
<BlueText style={styles.alignSelfCenter}>
{loc.formatString(loc.lndViewInvoice.please_pay_between_and, {
min: formatBalance(payload?.min, wallet.getPreferredBalanceUnit()),
max: formatBalance(payload?.max, wallet.getPreferredBalanceUnit()),
min: formatBalance(payload?.min, unit),
max: formatBalance(payload?.max, unit),
})}
</BlueText>
<BlueSpacing20 />