commit 4b5d86e5dc68a49d7137d13064374692e3f3957a
parent 6e39cf5dc877112ecf209443720d65c2249b80c9
Author: Marc Stibane <marc@taler.net>
Date: Fri, 10 Jul 2026 07:25:58 +0200
QR devExperiment not only for GNU_TALER, but also for TALER_NIGHTLY
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/TalerWallet1/Controllers/Controller.swift b/TalerWallet1/Controllers/Controller.swift
@@ -52,7 +52,7 @@ enum UrlCommand: String, Codable {
case payPush
case payTemplate
case refund
-#if GNU_TALER
+#if GNU_TALER || TALER_NIGHTLY
case devExperiment
#endif
@@ -83,7 +83,7 @@ enum UrlCommand: String, Codable {
comment: "UrlCommand")
case .refund: String(localized: "Refund",
comment: "UrlCommand")
-#if GNU_TALER
+#if GNU_TALER || TALER_NIGHTLY
case .devExperiment: String("DevExperiment")
#endif
}
@@ -99,7 +99,7 @@ enum UrlCommand: String, Codable {
case .payPush: .scanPushCredit
case .payTemplate: .payment
case .refund: .refund
-#if GNU_TALER
+#if GNU_TALER || TALER_NIGHTLY
case .devExperiment: .dummy
#endif
}
@@ -619,7 +619,7 @@ extension Controller {
case "pay-push": return .payPush
case "pay-template": return .payTemplate
case "refund": return .refund
-#if GNU_TALER
+#if GNU_TALER || TALER_NIGHTLY
case "dev-experiment": return .devExperiment
#endif
default:
diff --git a/TalerWallet1/Views/Sheets/DevExperimentView.swift b/TalerWallet1/Views/Sheets/DevExperimentView.swift
@@ -10,7 +10,7 @@ import SymLog
import taler_swift
-#if GNU_TALER
+#if GNU_TALER || TALER_NIGHTLY
struct DevExperimentView: View {
private let symLog = SymLogV(0)
let stack: CallStack
diff --git a/TalerWallet1/Views/Sheets/URLSheet.swift b/TalerWallet1/Views/Sheets/URLSheet.swift
@@ -75,7 +75,7 @@ struct URLSheet: View {
PayTemplateV(stack: stack.push(), url: passedURL)
case .refund:
RefundURIView(stack: stack.push(), url: passedURL)
-#if GNU_TALER
+#if GNU_TALER || TALER_NIGHTLY
case .devExperiment:
DevExperimentView(stack: stack.push(), url: passedURL)
#endif