taler-ios

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

commit ff9b1e1d3a0c920a45880c77ebc25c289f7213ce
parent 93abd00ba3a26d1c7c8cd3f5fc1bcd105a399ba8
Author: Marc Stibane <marc@taler.net>
Date:   Mon, 20 Jul 2026 12:29:14 +0200

prepareBankIntegratedWithdrawal progressToken talerUri

Diffstat:
MTalerWallet1/Model/Model+Withdraw.swift | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/TalerWallet1/Model/Model+Withdraw.swift b/TalerWallet1/Model/Model+Withdraw.swift @@ -88,11 +88,12 @@ struct PrepareBankIntegratedWithdrawalResponse: Decodable { fileprivate struct PrepareBankIntegratedWithdrawal: WalletBackendFormattedRequest { typealias Response = PrepareBankIntegratedWithdrawalResponse var operation: String { "prepareBankIntegratedWithdrawal" } - func args() -> Args { Args(talerWithdrawUri: talerUri) } - + func args() -> Args { Args(talerWithdrawUri: talerUri, + progressToken: talerUri) } // TODO: lastPathComponent var talerUri: String struct Args: Encodable { var talerWithdrawUri: String + var progressToken: String? } } // MARK: - @@ -253,6 +254,9 @@ extension WalletModel { viewHandles: Bool = false) async throws -> PrepareBankIntegratedWithdrawalResponse { let request = PrepareBankIntegratedWithdrawal(talerUri: talerUri) + let controller = Controller.shared + controller.progressOperation = request.operation + controller.progressToken = talerUri let response = try await sendRequest(request, viewHandles: viewHandles) return response }