From 8538144c2e50530ff94d0038cd34d01d20ad580f Mon Sep 17 00:00:00 2001 From: M Date: Fri, 10 Jan 2020 18:11:14 +0200 Subject: [PATCH] Fixed parsing of fiat price --- lib/src/domain/common/fetch_price.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/domain/common/fetch_price.dart b/lib/src/domain/common/fetch_price.dart index 34957aa70..36f996f7e 100644 --- a/lib/src/domain/common/fetch_price.dart +++ b/lib/src/domain/common/fetch_price.dart @@ -21,7 +21,7 @@ Future fetchPriceFor({CryptoCurrency crypto, FiatCurrency fiat}) async { } final responseJSON = json.decode(response.body) as Map; - final data = responseJSON['data'] as List>; + final data = responseJSON['data'] as List; for (final item in data) { if (item['symbol'] == cryptoToString(crypto)) {