always apply tx_amount from qr code (#687)

merge-requests/3/head
wow nero 4 years ago committed by GitHub
parent 7206857a5b
commit e5b15b7816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -148,12 +148,9 @@ public class SendAmountWizardFragment extends SendWizardFragment {
tvFunds.setText(getString(R.string.send_available,
getString(R.string.unknown_amount)));
}
// getNativeAmount is null if exchange is in progress
if ((etAmount.getNativeAmount() != null) && etAmount.getNativeAmount().isEmpty()) {
final BarcodeData data = sendListener.popBarcodeData();
if ((data != null) && (data.amount != null)) {
etAmount.setAmount(data.amount);
}
final BarcodeData data = sendListener.popBarcodeData();
if ((data != null) && (data.amount != null)) {
etAmount.setAmount(data.amount);
}
}

Loading…
Cancel
Save