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

master
Severiano Jaramillo 2019-01-31 16:12:26 -06:00
parent 981a14723e
commit 1a064c0a5e
1 changed files with 2 additions and 1 deletions

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