We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae07291 commit a04ac22Copy full SHA for a04ac22
1 file changed
apps/flipcash/shared/tokens/src/main/kotlin/com/flipcash/app/tokens/TokenCoordinator.kt
@@ -186,7 +186,7 @@ class TokenCoordinator @Inject constructor(
186
fun hasGiveableBalance(): Boolean =
187
_state.value.balances
188
.values
189
- .any { it.isPositive }
+ .any { it.hasDisplayableValue }
190
191
fun balanceForToken(token: Token): Fiat = _state.value.balances[token.address] ?: Fiat.Zero
192
0 commit comments