Updated on 2026-08-14
This commit is contained in:
commit
fbed37fe24
6 changed files with 63 additions and 97 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue