Remove '#bitsy' Memo from QR codes generated in ReceiveTransactionFragment.
This commit is contained in:
parent
ef5834264b
commit
e3f8e1d923
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ class ReceiveTransactionFragment : ConnectedFragment() {
|
||||||
val total = AssetAmount(UnsignedLong.valueOf(amount), mAsset!!)
|
val total = AssetAmount(UnsignedLong.valueOf(amount), mAsset!!)
|
||||||
val totalInDouble = Util.fromBase(total)
|
val totalInDouble = Util.fromBase(total)
|
||||||
val items = arrayOf(LineItem("transfer", 1, totalInDouble))
|
val items = arrayOf(LineItem("transfer", 1, totalInDouble))
|
||||||
val invoice = Invoice(mUserAccount!!.name, "", "#bitsy", mAsset!!.symbol, items, "", "")
|
val invoice = Invoice(mUserAccount!!.name, "", "", mAsset!!.symbol, items, "", "")
|
||||||
Log.d(TAG, "invoice: " + invoice.toJsonString())
|
Log.d(TAG, "invoice: " + invoice.toJsonString())
|
||||||
try {
|
try {
|
||||||
val bitmap = encodeAsBitmap(Invoice.toQrCode(invoice), "#139657") // PalmPay green
|
val bitmap = encodeAsBitmap(Invoice.toQrCode(invoice), "#139657") // PalmPay green
|
||||||
|
|
Loading…
Reference in a new issue