taler-ios

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

commit 378813ce8ee0665c849919cbc0c633b24afb3373
parent 0031a883684374b6d29ca85314e527308c570f78
Author: Marc Stibane <marc@taler.net>
Date:   Wed,  4 Dec 2024 07:22:24 +0100

regional exchange baseURL

Diffstat:
MTalerWallet1/Views/Transactions/ThreeAmountsSection.swift | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/TalerWallet1/Views/Transactions/ThreeAmountsSection.swift b/TalerWallet1/Views/Transactions/ThreeAmountsSection.swift @@ -225,11 +225,10 @@ struct ThreeAmountsSection: View { .accessibilityElement(children: .combine) } } header: { - if !minimalistic { - Text("Summary") - .talerFont(.title3) - .foregroundColor(WalletColors().secondary(colorScheme, colorSchemeContrast)) - } + let header = scope?.url?.trimURL ?? scope?.currency ?? "Summary" + Text(header) + .talerFont(.title3) + .foregroundColor(WalletColors().secondary(colorScheme, colorSchemeContrast)) } .task { await viewDidLoad() } }