mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +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 get title => 'Trocador';
|
||||||
|
|
||||||
String _networkFor(CryptoCurrency currency) {
|
String _networkFor(CryptoCurrency currency) {
|
||||||
switch (currency) {
|
return currency.tag != null ? _normalizeTag(currency.tag!) : 'Mainnet';
|
||||||
case CryptoCurrency.usdt:
|
|
||||||
return CryptoCurrency.btc.title.toLowerCase();
|
|
||||||
default:
|
|
||||||
return currency.tag != null ? _normalizeTag(currency.tag!) : 'Mainnet';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String _normalizeTag(String tag) {
|
String _normalizeTag(String tag) {
|
||||||
|
|
Loading…
Reference in a new issue