Fix _network normalize function

This commit is contained in:
Godwin Asuquo 2023-02-09 18:24:59 +02:00
parent f1b0a5adb6
commit 5f6b447706

View file

@ -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) {