gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 06/18: accessibilityLabel for text input


From: gnunet
Subject: [taler-taler-ios] 06/18: accessibilityLabel for text input
Date: Thu, 15 Feb 2024 07:02:06 +0100

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository taler-ios.

commit 378ee2c76ff3f6e027b8196e20e8056932de4d70
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Feb 11 17:49:32 2024 +0100

    accessibilityLabel for text input
---
 TalerWallet1/Views/HelperViews/CurrencyInputView.swift | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Views/HelperViews/CurrencyInputView.swift 
b/TalerWallet1/Views/HelperViews/CurrencyInputView.swift
index d2bc598..c73b479 100644
--- a/TalerWallet1/Views/HelperViews/CurrencyInputView.swift
+++ b/TalerWallet1/Views/HelperViews/CurrencyInputView.swift
@@ -80,12 +80,12 @@ struct CurrencyInputView: View {
         let currencyInfo = controller.info(for: currency, 
controller.currencyTicker)
         let currencyField = CurrencyField(amount: $amount, currencyInfo: 
currencyInfo)
         VStack (alignment: .center) {   // center shortcut buttons
-                Text(title)
+            Text(title)
                 .frame(maxWidth: .infinity, alignment: .leading)
                 .talerFont(.title3)
-                    .accessibilityAddTraits(.isHeader)
-                    .accessibilityRemoveTraits(.isStaticText)
+                .accessibilityHidden(true)
             currencyField
+                .accessibilityLabel(title)
                 .frame(maxWidth: .infinity, alignment: .trailing)
                 .foregroundColor(WalletColors().fieldForeground)     // text 
color
                 .background(WalletColors().fieldBackground)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]