taler-ios

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

commit 82ef850e1705da71ff85ca90b362ae7abea1cf8d
parent cc9d1178aa3e22c16f9b01d6cd8329e77c5ba9c8
Author: Marc Stibane <marc@taler.net>
Date:   Thu, 13 Mar 2025 15:55:01 +0100

add-exchange

Diffstat:
MTalerWallet1/Controllers/Controller.swift | 4++--
MTalerWallet1/Views/Sheets/URLSheet.swift | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Controllers/Controller.swift b/TalerWallet1/Controllers/Controller.swift @@ -27,7 +27,7 @@ enum UrlCommand { case unknown case withdraw case withdrawExchange - case termsExchange + case addExchange case pay case payPull case payPush @@ -341,7 +341,7 @@ extension Controller { switch command.lowercased() { case "withdraw": return .withdraw case "withdraw-exchange": return .withdrawExchange - case "terms-exchange": return .termsExchange + case "add-exchange": return .addExchange case "pay": return .pay case "pay-pull": return .payPull case "pay-push": return .payPush diff --git a/TalerWallet1/Views/Sheets/URLSheet.swift b/TalerWallet1/Views/Sheets/URLSheet.swift @@ -39,7 +39,7 @@ struct URLSheet: View { #endif if let urlCommand, let passedURL { switch urlCommand { - case .termsExchange, // TODO: just check the ToS + case .addExchange, // TODO: just check the ToS .withdraw: WithdrawURIView(stack: stack.push(), url: passedURL) case .withdrawExchange: