commit a5a8a718405d830253d86f662c1891fc6ee80c45
parent 5f681aae5e3b2530e66db03f16bef029a4891c9e
Author: Marc Stibane <marc@taler.net>
Date: Mon, 13 Nov 2023 21:10:17 +0100
Announce shouldn't change screen
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Controllers/DebugViewC.swift b/TalerWallet1/Controllers/DebugViewC.swift
@@ -152,7 +152,7 @@ class DebugViewC: ObservableObject {
func announce(this: String) {
if UIAccessibility.isVoiceOverRunning {
- UIAccessibility.post(notification: .screenChanged, argument: this)
+ UIAccessibility.post(notification: .announcement, argument: this)
}
}
diff --git a/TalerWallet1/Views/HelperViews/View+fitsSideBySide.swift b/TalerWallet1/Views/HelperViews/View+fitsSideBySide.swift
@@ -9,7 +9,7 @@ extension View {
@MainActor
public func announce(this: String) {
if UIAccessibility.isVoiceOverRunning {
- UIAccessibility.post(notification: .screenChanged, argument: this)
+ UIAccessibility.post(notification: .announcement, argument: this)
}
}
}