mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
do not use ticker as image url
This commit is contained in:
parent
b13d242deb
commit
28c22cc3b8
1 changed files with 4 additions and 4 deletions
|
@ -190,8 +190,8 @@ class SimplexAPI {
|
||||||
for (final ticker in supportedCryptos as List) {
|
for (final ticker in supportedCryptos as List) {
|
||||||
cryptos.add(Crypto.fromJson({
|
cryptos.add(Crypto.fromJson({
|
||||||
'ticker': ticker as String,
|
'ticker': ticker as String,
|
||||||
'name': ticker as String,
|
'name': ticker,
|
||||||
'image': ticker as String,
|
'image': "",
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
var supportedFiats = jsonArray['result']['supported_fiat_currencies'];
|
var supportedFiats = jsonArray['result']['supported_fiat_currencies'];
|
||||||
|
@ -199,8 +199,8 @@ class SimplexAPI {
|
||||||
for (final ticker in supportedFiats as List) {
|
for (final ticker in supportedFiats as List) {
|
||||||
fiats.add(Fiat.fromJson({
|
fiats.add(Fiat.fromJson({
|
||||||
'ticker': ticker as String,
|
'ticker': ticker as String,
|
||||||
'name': ticker as String,
|
'name': ticker,
|
||||||
'image': ticker as String,
|
'image': "",
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue