changed if logic to implement ExchangeProviderDescription

This commit is contained in:
Tanner Silva 2021-02-09 09:50:41 -06:00
parent c05c2e7c29
commit f4bc4ce734

View file

@ -91,7 +91,7 @@ abstract class TradeDetailsViewModelBase with Store {
value: trade.provider.toString()));
}
if (trade.provider is ChangeNowExchangeProvider) {
if (trade.provider == ExchangeProviderDescription.changeNow) {
final buildURL =
'https://changenow.io/exchange/txs/${trade.id.toString()}';
items.add(TrackTradeListItem(