Updated on 2026-08-14

This commit is contained in:
Tangem 2018-07-13 15:30:37 +03:00
parent b690338759
commit 4919fa718b
3 changed files with 5 additions and 3 deletions

View file

@ -28,7 +28,7 @@ class DeviceNFCAntennaLocation {
this.z = 0
for (nfcLocation in NFCLocation.values()) {
if (codename == nfcLocation.codename) {
if (codename.startsWith(nfcLocation.codename)) {
this.fullName = nfcLocation.fullName
this.orientation = nfcLocation.orientation
this.x = nfcLocation.x / 100f

View file

@ -1385,6 +1385,8 @@ public class TangemCard {
return R.drawable.card_btc001;
else if (bytesToHex(getDenomination()).equals("404B4C0000000000") )
return R.drawable.card_btc005;
else if (bytesToHex(getDenomination()).equals("0000000000000000") )
return R.drawable.card_btc_hk_s;
else
return R.drawable.card_default;

View file

@ -519,7 +519,7 @@ public class LoadedWallet extends Fragment implements SwipeRefreshLayout.OnRefre
RateInfoTask taskRate = new RateInfoTask(LoadedWallet.this);
ExchangeRequest rate = ExchangeRequest.GetRate(mCard.getWallet(), "ic_logo_ethereum", "ic_logo_ethereum");
ExchangeRequest rate = ExchangeRequest.GetRate(mCard.getWallet(), "ethereum", "ethereum");
taskRate.execute(rate);
} else if (mCard.getBlockchain() == Blockchain.Token) {
@ -539,7 +539,7 @@ public class LoadedWallet extends Fragment implements SwipeRefreshLayout.OnRefre
RateInfoTask taskRate = new RateInfoTask(LoadedWallet.this);
ExchangeRequest rate = ExchangeRequest.GetRate(mCard.getWallet(), "basic-attention-token", "ic_logo_ethereum");
ExchangeRequest rate = ExchangeRequest.GetRate(mCard.getWallet(), "ethereum", "ethereum");
taskRate.execute(rate);
}