Updated on 2026-08-14
This commit is contained in:
parent
b690338759
commit
4919fa718b
3 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue