do not use ticker as image url

This commit is contained in:
sneurlax 2023-01-13 18:30:45 -06:00
parent b13d242deb
commit 28c22cc3b8

View file

@ -190,8 +190,8 @@ class SimplexAPI {
for (final ticker in supportedCryptos as List) {
cryptos.add(Crypto.fromJson({
'ticker': ticker as String,
'name': ticker as String,
'image': ticker as String,
'name': ticker,
'image': "",
}));
}
var supportedFiats = jsonArray['result']['supported_fiat_currencies'];
@ -199,8 +199,8 @@ class SimplexAPI {
for (final ticker in supportedFiats as List) {
fiats.add(Fiat.fromJson({
'ticker': ticker as String,
'name': ticker as String,
'image': ticker as String,
'name': ticker,
'image': "",
}));
}