Updated on 2026-08-14

This commit is contained in:
Tangem 2019-06-10 11:59:48 +03:00
commit fbed37fe24
6 changed files with 63 additions and 97 deletions

View file

@ -62,7 +62,7 @@ public enum Blockchain {
public static Blockchain fromCurrency(String currency) {
for (Blockchain blockchain : values()) {
if (blockchain.getCurrency().equals(currency)) return blockchain;
if (blockchain.getCurrency() == currency) return blockchain;
}
return null;
}
@ -97,9 +97,6 @@ public enum Blockchain {
case "BTC":
return R.drawable.ic_logo_bitcoin;
case "BCH":
return R.drawable.ic_logo_bitcoin_cash;
case "Token":
if (symbolName.equals("SEED"))
return R.drawable.ic_logo_seed;