mirror of https://github.com/m2049r/xmrwallet.git
always apply tx_amount from qr code (#687)
This commit is contained in:
parent
7206857a5b
commit
e5b15b7816
|
@ -148,12 +148,9 @@ public class SendAmountWizardFragment extends SendWizardFragment {
|
||||||
tvFunds.setText(getString(R.string.send_available,
|
tvFunds.setText(getString(R.string.send_available,
|
||||||
getString(R.string.unknown_amount)));
|
getString(R.string.unknown_amount)));
|
||||||
}
|
}
|
||||||
// getNativeAmount is null if exchange is in progress
|
final BarcodeData data = sendListener.popBarcodeData();
|
||||||
if ((etAmount.getNativeAmount() != null) && etAmount.getNativeAmount().isEmpty()) {
|
if ((data != null) && (data.amount != null)) {
|
||||||
final BarcodeData data = sendListener.popBarcodeData();
|
etAmount.setAmount(data.amount);
|
||||||
if ((data != null) && (data.amount != null)) {
|
|
||||||
etAmount.setAmount(data.amount);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue