mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 20:09:24 +00:00
Fix _network normalize function
This commit is contained in:
parent
f1b0a5adb6
commit
5f6b447706
1 changed files with 1 additions and 6 deletions
|
@ -252,12 +252,7 @@ class TrocadorExchangeProvider extends ExchangeProvider {
|
|||
String get title => 'Trocador';
|
||||
|
||||
String _networkFor(CryptoCurrency currency) {
|
||||
switch (currency) {
|
||||
case CryptoCurrency.usdt:
|
||||
return CryptoCurrency.btc.title.toLowerCase();
|
||||
default:
|
||||
return currency.tag != null ? _normalizeTag(currency.tag!) : 'Mainnet';
|
||||
}
|
||||
return currency.tag != null ? _normalizeTag(currency.tag!) : 'Mainnet';
|
||||
}
|
||||
|
||||
String _normalizeTag(String tag) {
|
||||
|
|
Loading…
Reference in a new issue