From b62dec59c2df69951a28b6af8012789d80f82c40 Mon Sep 17 00:00:00 2001 From: Javier Varona Date: Wed, 25 Oct 2017 23:06:38 -0400 Subject: [PATCH] - Finishing the send view --- .../crystalwallet/activities/SendTransactionActivity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/activities/SendTransactionActivity.java b/app/src/main/java/cy/agorise/crystalwallet/activities/SendTransactionActivity.java index dcf20df..76d9576 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/activities/SendTransactionActivity.java +++ b/app/src/main/java/cy/agorise/crystalwallet/activities/SendTransactionActivity.java @@ -159,14 +159,13 @@ public class SendTransactionActivity extends AppCompatActivity implements UIVali @OnClick(R.id.btnSend) public void importSend(){ if (this.sendTransactionValidator.isValid()) { + //TODO convert the amount to long type using the precision of the currency ValidateBitsharesSendRequest sendRequest = new ValidateBitsharesSendRequest( this.getApplicationContext(), this.grapheneAccount, this.etTo.getText().toString(), - this.etAmount, + Long.parseLong(this.etAmount.getText().toString()), ((CryptoCurrency)spAsset.getSelectedItem()).getName(), - feeAmount, - feeAsset, etMemo.getText().toString() );