From f4bc4ce7347082446c1bad261aa5c950de1bb4c7 Mon Sep 17 00:00:00 2001 From: Tanner Silva Date: Tue, 9 Feb 2021 09:50:41 -0600 Subject: [PATCH] changed if logic to implement ExchangeProviderDescription --- lib/view_model/trade_details_view_model.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/view_model/trade_details_view_model.dart b/lib/view_model/trade_details_view_model.dart index ba03996ad..9c88cb981 100644 --- a/lib/view_model/trade_details_view_model.dart +++ b/lib/view_model/trade_details_view_model.dart @@ -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(