mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
set fiat value on scanning payment uri
This commit is contained in:
parent
10c1574a4a
commit
68344e981c
1 changed files with 1 additions and 0 deletions
|
@ -326,6 +326,7 @@ public class PaymentController extends WalletFormController implements Initializ
|
|||
}
|
||||
if(bitcoinURI.getAmount() != null) {
|
||||
setRecipientValueSats(bitcoinURI.getAmount());
|
||||
setFiatAmount(AppServices.getFiatCurrencyExchangeRate(), bitcoinURI.getAmount());
|
||||
}
|
||||
if(bitcoinURI.getPayjoinUrl() != null) {
|
||||
AppServices.addPayjoinURI(bitcoinURI);
|
||||
|
|
Loading…
Reference in a new issue