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:
Severiano Jaramillo 2019-01-29 15:57:07 -06:00
parent 3a0527a5bf
commit def6fd4ec5

View file

@ -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 var amount = 0.0
for (nextItem in invoice.lineItems) { for (nextItem in invoice.lineItems) {