taler-ios

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

commit 6d0e7d17faf9eaf3444b5320cef919242a42b041
parent 2b873a5df19e64e498c03439a0b0aeb1f9fb651b
Author: Marc Stibane <marc@taler.net>
Date:   Mon, 14 Sep 2026 09:08:56 +0200

fix #11742: reload exchange (with ToS status)

Diffstat:
MTalerWallet1/Views/Actions/Banking/ManualWithdraw.swift | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift b/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift @@ -294,6 +294,11 @@ struct ManualWithdrawContent: View { .task(id: amountToTransfer.currencyStr) { await getWithdrawalDetailsForAmount(amountToTransfer, true) } + .onChange(of: controller.exchanges) { _ in + Task { + await reloadExchange(detailsForAmount.exchangeBaseUrl) + } + } } else if let loadError { // "OK" clears the error, which brings back the LoadingView and thus retries ErrorView(stack.push(), error: loadError, devMode: developerMode) {