taler-ios

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

commit 4b236b450a412b01388b4fcb641b5eff33f36673
parent eaa421cfe14a078ce46b66d0cdf2ead907071ed1
Author: Marc Stibane <marc@taler.net>
Date:   Thu, 18 Jan 2024 00:41:32 +0100

Summary no longer twice

Diffstat:
MTalerWallet1/Views/Sheets/Payment/PaymentView.swift | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Views/Sheets/Payment/PaymentView.swift b/TalerWallet1/Views/Sheets/Payment/PaymentView.swift @@ -45,8 +45,7 @@ struct PaymentView: View { let effective = preparePayResult.amountEffective let terms = preparePayResult.contractTerms List { - Text(terms.summary) - .accessibilityFont(.title3) + // TODO: show balanceDetails.balanceAvailable let baseURL = preparePayResult.contractTerms.exchanges.first?.url let raw = preparePayResult.amountRaw let currency = raw.currencyStr @@ -68,7 +67,7 @@ struct PaymentView: View { // TODO: payment: popup with all possible exchanges, check fees } else if let balanceDetails = preparePayResult.balanceDetails { // Insufficient Text("You don't have enough \(currency)") - .accessibilityFont(.body) + .accessibilityFont(.headline) ThreeAmountsV(topTitle: topTitle, topAbbrev: topAbbrev, topAmount: raw, fee: nil,