summaryrefslogtreecommitdiff
path: root/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullComposable.kt
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2024-05-15 09:35:19 -0600
committerIván Ávalos <avalos@disroot.org>2024-05-15 11:33:04 -0600
commit2c8a978e03176405ce99ab9fc549fc49c87d343b (patch)
tree6b8f582c91f66914359b52b517fc60a96761bf34 /wallet/src/main/java/net/taler/wallet/peer/OutgoingPullComposable.kt
parent046e0557f989664549fbd7f48d82838c1edc31bf (diff)
downloadtaler-android-2c8a978e03176405ce99ab9fc549fc49c87d343b.tar.gz
taler-android-2c8a978e03176405ce99ab9fc549fc49c87d343b.tar.bz2
taler-android-2c8a978e03176405ce99ab9fc549fc49c87d343b.zip
[wallet] remove no longer necessary isZero() fee checks
bug 0008830
Diffstat (limited to 'wallet/src/main/java/net/taler/wallet/peer/OutgoingPullComposable.kt')
-rw-r--r--wallet/src/main/java/net/taler/wallet/peer/OutgoingPullComposable.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullComposable.kt b/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullComposable.kt
index 8e87104..a456303 100644
--- a/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullComposable.kt
+++ b/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullComposable.kt
@@ -150,7 +150,7 @@ fun OutgoingPullIntroComposable(
if (state is OutgoingChecked && state.amountRaw > state.amountEffective) {
val fee = state.amountRaw - state.amountEffective
- if (!fee.isZero()) TransactionAmountComposable(
+ TransactionAmountComposable(
label = stringResource(id = R.string.withdraw_fees),
amount = fee.withSpec(amount.spec),
amountType = AmountType.Negative,