taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 01a50bc8fd582a349ebdb7472c3fe992a77f0f1a
parent 0cddeb6e08da42bae1b9f9c027a613e3ca174852
Author: Marc Stibane <marc@taler.net>
Date:   Fri,  2 Aug 2024 15:26:07 +0200

sign of fee amount

Diffstat:
MTalerWallet1/Views/Balances/BalanceCellV.swift | 2+-
MTalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/TalerWallet1/Views/Balances/BalanceCellV.swift b/TalerWallet1/Views/Balances/BalanceCellV.swift @@ -27,7 +27,7 @@ struct BalanceCellV: View { let amountV = AmountV(stack: stack?.push("AmountV"), currencyInfo: $currencyInfo, amount: amount, - isNegative: false, + isNegative: nil, // don't show the + sign large: true) .foregroundColor(.primary) let hLayout = amountV diff --git a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift @@ -62,6 +62,7 @@ struct WithdrawAcceptView: View { topAmount: raw, noFees: exchange.noFees, fee: fee, + feeIsNegative: true, bottomTitle: String(localized: "Amount to obtain:"), bottomAbbrev: String(localized: "Obtain:", comment: "Amount to obtain:"), bottomAmount: effective,