taler-ios

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

commit 3a68f88c19854f468e8ea3f92b327ed49c9f72ce
parent 4e7f6ff4bfa078d5e6041e9b86ca8c41c5967429
Author: Marc Stibane <marc@taler.net>
Date:   Sat, 10 Feb 2024 21:31:16 +0100

show exchange DD35

Diffstat:
MTalerWallet1/Views/Balances/BalancesSectionView.swift | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/TalerWallet1/Views/Balances/BalancesSectionView.swift b/TalerWallet1/Views/Balances/BalancesSectionView.swift @@ -62,6 +62,12 @@ extension BalancesSectionView: View { let currencyInfo = controller.info(for: currency) Section { + if scopeInfo.type == .exchange { + let baseURL = scopeInfo.url?.trimURL() ?? String(localized: "Unknown Payment Provider", comment: "exchange url") + Text(baseURL) + .accessibilityFont(.headline) + .listRowSeparator(.hidden) + } let showSpendingButton = "KUDOS" == currency && !balance.available.isZero if showSpendingButton { if !minimalistic && showSpendingHint {