mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
Update trade_details_view_model.dart
This commit is contained in:
parent
04ee08a190
commit
7abe95831a
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@ import 'package:cake_wallet/exchange/provider/changenow_exchange_provider.dart';
|
|||
import 'package:cake_wallet/exchange/provider/exchange_provider.dart';
|
||||
import 'package:cake_wallet/exchange/provider/exolix_exchange_provider.dart';
|
||||
import 'package:cake_wallet/exchange/provider/letsexchange_exchange_provider.dart';
|
||||
import 'package:cake_wallet/exchange/provider/mayachain_exchange.provider.dart';
|
||||
import 'package:cake_wallet/exchange/provider/quantex_exchange_provider.dart';
|
||||
import 'package:cake_wallet/exchange/provider/sideshift_exchange_provider.dart';
|
||||
import 'package:cake_wallet/exchange/provider/simpleswap_exchange_provider.dart';
|
||||
|
@ -59,6 +60,9 @@ abstract class TradeDetailsViewModelBase with Store {
|
|||
case ExchangeProviderDescription.thorChain:
|
||||
_provider = ThorChainExchangeProvider(tradesStore: trades);
|
||||
break;
|
||||
case ExchangeProviderDescription.mayaChain:
|
||||
_provider = MayaChainExchangeProvider(tradesStore: trades);
|
||||
break;
|
||||
case ExchangeProviderDescription.quantex:
|
||||
_provider = QuantexExchangeProvider();
|
||||
case ExchangeProviderDescription.letsExchange:
|
||||
|
@ -91,6 +95,8 @@ abstract class TradeDetailsViewModelBase with Store {
|
|||
return 'https://exolix.com/transaction/${trade.id}';
|
||||
case ExchangeProviderDescription.thorChain:
|
||||
return 'https://track.ninerealms.com/${trade.id}';
|
||||
case ExchangeProviderDescription.mayaChain:
|
||||
return 'https://mayascan.org/${trade.id}';
|
||||
case ExchangeProviderDescription.quantex:
|
||||
return 'https://myquantex.com/send/${trade.id}';
|
||||
case ExchangeProviderDescription.letsExchange:
|
||||
|
|
Loading…
Reference in a new issue