Avoid disabling the memo field in SendTransactionActivity if the QR code read's memo does not start with PP.

This commit is contained in:
Severiano Jaramillo 2019-01-31 16:12:26 -06:00
parent 981a14723e
commit 1a064c0a5e

View file

@ -376,7 +376,8 @@ class SendTransactionFragment : ConnectedFragment(), ZXingScannerView.ResultHand
if (invoice.memo != null) {
tietMemo.setText(invoice.memo)
tietMemo.isEnabled = false
if (invoice.memo.startsWith("PP"))
tietMemo.isEnabled = false
}
var amount = 0.0