Skip to content

Commit 086eb30

Browse files
committed
quick facto[r/0rn] price fix
1 parent 2299b45 commit 086eb30

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/services/price.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ class PriceAPI {
159159

160160
for (final map in coinGeckoData) {
161161
final String coinName = map["name"] as String;
162-
final coin = AppConfig.getCryptoCurrencyByPrettyName(coinName);
162+
final coin = AppConfig.getCryptoCurrencyByPrettyName(
163+
coinName == "Factor" ? "Fact0rn" : coinName,
164+
);
163165

164166
try {
165167
final price = Decimal.parse(map["current_price"].toString());

0 commit comments

Comments
 (0)