Updated on 2026-08-14
This commit is contained in:
parent
a8a8954993
commit
477ca0d1a6
2 changed files with 7 additions and 1 deletions
|
|
@ -89,6 +89,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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue