commit 8804815e20bad3ff812f8a1c6491fae57c51da10
parent b1fdf9b45a7dade110de74669f5f79d9c272df3e
Author: Marc Stibane <marc@taler.net>
Date: Mon, 29 Jul 2024 07:10:06 +0200
cleanup, a11y
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Views/HelperViews/LaunchAnimationView.swift b/TalerWallet1/Views/HelperViews/LaunchAnimationView.swift
@@ -1,7 +1,10 @@
/*
- * This file is part of GNU Taler, ©2022-23 Taler Systems S.A.
+ * This file is part of GNU Taler, ©2022-24 Taler Systems S.A.
* See LICENSE.md
*/
+/**
+ * @author Marc Stibane
+ */
import SwiftUI
struct LaunchAnimationView: View {
@@ -12,7 +15,7 @@ struct LaunchAnimationView: View {
RotatingTaler(size: (350 < UIScreen.screenWidth) ? 200 : 250,
progress: true,
rotationEnabled: $rotationEnabled)
-// .accessibilityLabel("Progress indicator")
+ .accessibilityLabel("Progress indicator")
}
}
}
@@ -20,6 +23,7 @@ struct LaunchAnimationView: View {
struct RotatingTaler: View {
let size: CGFloat
let progress: Bool
+
@Binding var rotationEnabled: Bool
@State private var rotationDirection = false
#if TALER_WALLET