commit 9181daadb714a13a515c3c148f036cae7db621d7
parent e309b6b91dce6f4362cbc2dfc7a27f4ac2521690
Author: Marc Stibane <marc@taler.net>
Date: Mon, 20 May 2024 08:57:36 +0200
don't announce debugView
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/TalerWallet1/Controllers/DebugViewC.swift b/TalerWallet1/Controllers/DebugViewC.swift
@@ -157,21 +157,21 @@ class DebugViewC: ObservableObject {
@Published var viewID: Int = 0
@Published var sheetID: Int = 0
- func announce(this: String) {
- if UIAccessibility.isVoiceOverRunning {
- UIAccessibility.post(notification: .announcement, argument: this)
- }
- }
+// func announce(_ this: String) {
+// if UIAccessibility.isVoiceOverRunning {
+// UIAccessibility.post(notification: .announcement, argument: this)
+// }
+// }
@MainActor func setViewID(_ newID: Int, stack: CallStack) -> Void {
if developerMode {
if viewID == 0 {
logger.log("switching ON, \(newID, privacy: .public)")
viewID = newID // publish ON
-// announce(this: "Current view is: \(newID).")
+// announce("Current view is: \(newID).")
} else if viewID != newID {
logger.log("switching from \(self.viewID, privacy: .public) to \(newID, privacy: .public)")
-// announce(this: "View switched from \(self.viewID) to \(newID).")
+// announce("View switched from \(self.viewID) to \(newID).")
viewID = newID // publish new viewID
} else {
logger.log("\(newID, privacy: .public) stays")