mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
minor bug fix
This commit is contained in:
parent
d2291ef870
commit
e79f5ba977
1 changed files with 2 additions and 2 deletions
|
@ -454,8 +454,8 @@ public class SendController extends WalletFormController implements Initializabl
|
||||||
updateTransaction(true);
|
updateTransaction(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setFiatAmount(CurrencyRate currencyRate, long amount) {
|
private void setFiatAmount(CurrencyRate currencyRate, Long amount) {
|
||||||
if(currencyRate != null && currencyRate.isAvailable()) {
|
if(amount != null && currencyRate != null && currencyRate.isAvailable()) {
|
||||||
fiatAmount.set(currencyRate, amount);
|
fiatAmount.set(currencyRate, amount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue