commit fdf717936941861274293e79e33c75e60246d51b
parent 4c1a4b9779e25eafa039086e079a8fe4f8ed51b5
Author: Marc Stibane <marc@taler.net>
Date: Mon, 3 Aug 2026 16:01:59 +0200
remove code that never worked
Diffstat:
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/TalerWallet1/Controllers/Controller.swift b/TalerWallet1/Controllers/Controller.swift
@@ -593,11 +593,8 @@ extension Controller {
var uncrypted = false
var urlCommand = UrlCommand.unknown
switch scheme.lowercased() {
- case "taler+http":
- uncrypted = true
- fallthrough
case "taler", "ext+taler", "web+taler":
- urlCommand = talerScheme(url, uncrypted)
+ urlCommand = talerScheme(url)
// case "payto":
// messageForSheet = url.absoluteString
// return paytoScheme(url)
@@ -617,12 +614,8 @@ extension Controller {
// return UrlCommand.unknown
// }
- func talerScheme(_ url:URL,_ uncrypted: Bool = false) -> UrlCommand {
+ func talerScheme(_ url:URL) -> UrlCommand {
if let command = url.host {
- if uncrypted {
- self.logger.trace("uncrypted http: taler://\(command)")
- // TODO: uncrypted taler+http
- }
switch command.lowercased() {
case "withdraw": return .withdraw
case "withdraw-exchange": return .withdrawExchange