commit 0596238b64f2d087fcec075b4de88f7b14dcbee9 parent 1c82fd8df21f2f451b5beca8531ef478b4580dc7 Author: Marc Stibane <marc@taler.net> Date: Mon, 28 Sep 2026 22:22:05 +0200 Debugging Diffstat:
4 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/TalerWallet1/Views/HelperViews/LoadingView.swift b/TalerWallet1/Views/HelperViews/LoadingView.swift @@ -145,10 +145,15 @@ struct LoadingView: View { StalledView() } else { Spacer() +#if DEBUG + let background = developerMode ? Color.blue : nil +#else + let background = nil +#endif RotatingTaler(size: 100, progress: true, // VoiceOver "In progress" once: false, - background: developerMode ? .blue : nil, + background: background, rotationEnabled: $rotationEnabled) .onTapGesture(count: 1) { rotationEnabled.toggle() diff --git a/TalerWallet1/Views/Transactions/TransactionRowView.swift b/TalerWallet1/Views/Transactions/TransactionRowView.swift @@ -276,8 +276,13 @@ struct TransactionRowView: View { ZStack { row if isWorking { +#if DEBUG + let background = developerMode ? Color.green : nil +#else + let background = nil +#endif RotatingTaler(size: 80, progress: true, once: false, - background: developerMode ? .green : nil, + background: background, rotationEnabled: Binding.constant(true)) } } diff --git a/TalerWallet1/Views/Transactions/TransactionSummaryList.swift b/TalerWallet1/Views/Transactions/TransactionSummaryList.swift @@ -67,6 +67,9 @@ struct TransactionSummaryList: View { symLog.log("reloaded \(reloadedTransaction.localizedType): \(reloadedTransaction.common.txState.major)") withAnimation { talerTX = reloadedTransaction; +#if DEBUG +// controller.playSound(1104, useSystem: true) +#endif scope = reloadedTransaction.common.scopes.first viewId = UUID() // redraw } @@ -295,8 +298,13 @@ struct TransactionSummaryList: View { .talerFont(.title) }.overlay { if common.isWorking { +#if DEBUG + let background = developerMode ? Color.red : nil +#else + let background = nil +#endif RotatingTaler(size: 80, progress: true, once: false, - background: developerMode ? .red : nil, + background: background, rotationEnabled: Binding.constant(true)) } } diff --git a/TalerWallet1/Views/Transactions/TransactionTypeDetail.swift b/TalerWallet1/Views/Transactions/TransactionTypeDetail.swift @@ -84,8 +84,13 @@ struct TransactionTypeDetail: View { Text(title) .talerFont(.body) if common.isWorking { +#if DEBUG + let background = developerMode ? Color.orange : nil +#else + let background = nil +#endif RotatingTaler(size: 100, progress: true, once: false, - background: developerMode ? .orange : nil, + background: background, rotationEnabled: $rotationEnabled) .frame(maxWidth: .infinity, alignment: .center) // has its own accessibilityLabel