- Finishing the send view
This commit is contained in:
parent
d9e4fe1710
commit
b62dec59c2
1 changed files with 2 additions and 3 deletions
|
@ -159,14 +159,13 @@ public class SendTransactionActivity extends AppCompatActivity implements UIVali
|
||||||
@OnClick(R.id.btnSend)
|
@OnClick(R.id.btnSend)
|
||||||
public void importSend(){
|
public void importSend(){
|
||||||
if (this.sendTransactionValidator.isValid()) {
|
if (this.sendTransactionValidator.isValid()) {
|
||||||
|
//TODO convert the amount to long type using the precision of the currency
|
||||||
ValidateBitsharesSendRequest sendRequest = new ValidateBitsharesSendRequest(
|
ValidateBitsharesSendRequest sendRequest = new ValidateBitsharesSendRequest(
|
||||||
this.getApplicationContext(),
|
this.getApplicationContext(),
|
||||||
this.grapheneAccount,
|
this.grapheneAccount,
|
||||||
this.etTo.getText().toString(),
|
this.etTo.getText().toString(),
|
||||||
this.etAmount,
|
Long.parseLong(this.etAmount.getText().toString()),
|
||||||
((CryptoCurrency)spAsset.getSelectedItem()).getName(),
|
((CryptoCurrency)spAsset.getSelectedItem()).getName(),
|
||||||
feeAmount,
|
|
||||||
feeAsset,
|
|
||||||
etMemo.getText().toString()
|
etMemo.getText().toString()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue