Fix _network normalize function

Godwin Asuquo committed Feb 9, 2023 at 18:24 UTC 5f6b4477064cd88eda09d8ecc8e8a4478b9b2072
1 file changed +1 -6
lib/exchange/trocador/trocador_exchange_provider.dart
+1 -6
@@ -252,12 +252,7 @@ class TrocadorExchangeProvider extends ExchangeProvider {
252 String get title => 'Trocador';
253
254 String _networkFor(CryptoCurrency currency) {
255 - switch (currency) {
256 - case CryptoCurrency.usdt:
257 - return CryptoCurrency.btc.title.toLowerCase();
258 - default:
259 - return currency.tag != null ? _normalizeTag(currency.tag!) : 'Mainnet';
260 - }
255 + return currency.tag != null ? _normalizeTag(currency.tag!) : 'Mainnet';
256 }
257
258 String _normalizeTag(String tag) {