Updated on 2026-08-14

This commit is contained in:
Tangem 2018-07-03 14:52:46 +03:00
parent b6517aeac0
commit c19268210d
5 changed files with 22 additions and 7 deletions

View file

@ -429,7 +429,7 @@ public class ConfirmPaymentActivity extends AppCompatActivity implements NfcAdap
} else {
tvBalance.setText(engine.GetBalanceWithAlter(mCard));
}
etAmount.setText(getIntent().getStringExtra("Amount"));
etAmount.setText(getIntent().getStringExtra(SignPaymentActivity.EXTRA_AMOUNT));
tvCurrency.setText(engine.GetBalanceCurrency(mCard));
tvCurrency2.setText(engine.GetFeeCurrency());
@ -593,7 +593,11 @@ public class ConfirmPaymentActivity extends AppCompatActivity implements NfcAdap
intent.putExtra("UID", mCard.getUID());
intent.putExtra("Card", mCard.getAsBundle());
intent.putExtra("Wallet", etWallet.getText().toString());
intent.putExtra("Amount", etAmount.getText().toString());
intent.putExtra(SignPaymentActivity.EXTRA_AMOUNT, etAmount.getText().toString());
// if (BuildConfig.DEBUG)
// Toast.makeText(this, etAmount.getText().toString(), Toast.LENGTH_LONG).show();
intent.putExtra("Fee", etFee.getText().toString());
startActivityForResult(intent, REQUEST_CODE_SIGN_PAYMENT);
} else {