We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d2adb commit 83da6bbCopy full SHA for 83da6bb
logic/lib/src/domain/repositories/wallet/pricing.dart
@@ -67,7 +67,10 @@ class PricingRepository {
67
for (int i = 0; i < tokens.length; i++) {
68
final currentToken = tokens[i];
69
// The price of a token with 0 balance is zero
70
- if (currentToken.balance == 0.0) continue;
+ if (currentToken.balance == 0.0) {
71
+ tokens[i] = currentToken.copyWith(balancePrice: 0.0);
72
+ continue;
73
+ }
74
if (currentToken.address != null) {
75
try {
76
// First if will handle in case the token is the XSD token
0 commit comments