commit 2ed114aa49d305665bfd97460fa7bf90a100f2f1
parent b30311d700a58f94385684ac17ebc5d67fb5e68a
Author: Marc Stibane <marc@taler.net>
Date: Thu, 23 Jan 2025 11:45:08 +0100
effective in payment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/Sheets/Payment/PaymentView.swift b/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
@@ -267,7 +267,7 @@ struct PaymentView: View, Sendable {
// scope: firstScope, // TODO: let user choose which currency
transactionId: preparePayResult.transactionId)
NavigationLink(destination: destination) {
- let formatted = raw.formatted(currencyInfo, isNegative: false)
+ let formatted = effective.formatted(currencyInfo, isNegative: false)
Text("Pay \(formatted.0) now")
.accessibilityLabel("Pay \(formatted.1) now")
}