Disable the memo field in SendTransactionFragment when reading a QR code that contains a memo, to avoid problems in case the receipient is expecting that exact memo.
This commit is contained in:
parent
3a0527a5bf
commit
def6fd4ec5
1 changed files with 4 additions and 1 deletions
|
@ -374,7 +374,10 @@ class SendTransactionFragment : ConnectedFragment(), ZXingScannerView.ResultHand
|
|||
}
|
||||
}
|
||||
|
||||
tietMemo.setText(invoice.memo)
|
||||
if (invoice.memo != null) {
|
||||
tietMemo.setText(invoice.memo)
|
||||
tietMemo.isEnabled = false
|
||||
}
|
||||
|
||||
var amount = 0.0
|
||||
for (nextItem in invoice.lineItems) {
|
||||
|
|
Loading…
Reference in a new issue