Updated on 2026-08-14

This commit is contained in:
Tangem 2018-09-11 11:17:10 +03:00
commit b9dcd58cc7
2 changed files with 7 additions and 1 deletions

View file

@ -90,6 +90,12 @@ class ConfirmPaymentActivity : AppCompatActivity(), NfcAdapter.ReaderCallback {
tvIncFee!!.setText(R.string.not_including_fee)
}
if (card!!.blockchain == Blockchain.Token) {
tvIncFee!!.visibility = View.INVISIBLE
} else {
tvIncFee!!.visibility = View.VISIBLE
}
etAmount!!.setText(intent.getStringExtra(SignPaymentActivity.EXTRA_AMOUNT))
tvCurrency.text = engine.getBalanceCurrency(card)
tvCurrency2.text = engine.feeCurrency

View file

@ -114,7 +114,7 @@ public final class BTCUtils {
String pattern = "#0.00000000";
DecimalFormat myFormatter = new DecimalFormat(pattern);
String output = myFormatter.format(dec);
String output = myFormatter.format(dec).replace(",",".");
return output;
}