From 1a064c0a5e7d3a826afe6b6edc9ec8ec7c940407 Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Thu, 31 Jan 2019 16:12:26 -0600 Subject: [PATCH] Avoid disabling the memo field in SendTransactionActivity if the QR code read's memo does not start with PP. --- .../bitsybitshareswallet/fragments/SendTransactionFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt index 68a6682..f621e7f 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/SendTransactionFragment.kt @@ -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