[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 167/204: badge + a11y
From: |
gnunet |
Subject: |
[taler-taler-ios] 167/204: badge + a11y |
Date: |
Thu, 05 Dec 2024 23:52:15 +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 4e38cf9cf4875247e6a3ff5ca3b883684da3bf41
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Nov 25 21:02:50 2024 +0100
badge + a11y
---
TalerWallet1/Views/Transactions/TransactionRowView.swift | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/TalerWallet1/Views/Transactions/TransactionRowView.swift
b/TalerWallet1/Views/Transactions/TransactionRowView.swift
index 16273a5..1d165b6 100644
--- a/TalerWallet1/Views/Transactions/TransactionRowView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionRowView.swift
@@ -73,7 +73,8 @@ struct TransactionRowView: View {
let iconBadge = TransactionIconBadge(type: common.type, foreColor:
foreColor,
done: done, incoming: incoming,
- shouldConfirm: shouldConfirm, needsKYC:
needsKYC)
+ shouldConfirm: shouldConfirm && pending,
+ needsKYC: needsKYC && pending)
let amountV = AmountV(scope, amount(), isNegative: isZero ? nil :
!incoming,
strikethrough: !doneOrPending)
.foregroundColor(foreColor)
@@ -189,8 +190,10 @@ struct TransactionRowView: View {
} else { layout4 } // view for iOS 15
}
.accessibilityElement(children: .combine)
- .accessibilityValue(needsKYC ? String(localized: ". Needs K Y C") :
- shouldConfirm ? String(localized: ". Needs bank
authorization") : EMPTYSTRING)
+ .accessibilityValue(!doneOrPending ? EMPTYSTRING
+ : needsKYC ? String(localized: ". Needs K
Y C")
+ : shouldConfirm ? String(localized: ". Needs
bank authorization")
+ : EMPTYSTRING)
.accessibilityHint(String(localized: "Will go to detail view."))
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 152/204: fix badge, (continued)
- [taler-taler-ios] 152/204: fix badge, gnunet, 2024/12/05
- [taler-taler-ios] 157/204: fix flicker, gnunet, 2024/12/05
- [taler-taler-ios] 198/204: BankEditView, gnunet, 2024/12/05
- [taler-taler-ios] 164/204: amountLabel, gnunet, 2024/12/05
- [taler-taler-ios] 171/204: translations for GNU Taler, gnunet, 2024/12/05
- [taler-taler-ios] 175/204: layout, gnunet, 2024/12/05
- [taler-taler-ios] 177/204: common.scopes.first, gnunet, 2024/12/05
- [taler-taler-ios] 183/204: Section header, gnunet, 2024/12/05
- [taler-taler-ios] 193/204: Sound, gnunet, 2024/12/05
- [taler-taler-ios] 195/204: DepositWireTypes, gnunet, 2024/12/05
- [taler-taler-ios] 167/204: badge + a11y,
gnunet <=
- [taler-taler-ios] 166/204: BankListView, gnunet, 2024/12/05
- [taler-taler-ios] 185/204: A11y textfield label, gnunet, 2024/12/05
- [taler-taler-ios] 187/204: A11y, gnunet, 2024/12/05
- [taler-taler-ios] 186/204: bounce, gnunet, 2024/12/05
- [taler-taler-ios] 204/204: Bump version to 0.14.0 (0.13.14), gnunet, 2024/12/05
- [taler-taler-ios] 197/204: L10n, gnunet, 2024/12/05
- [taler-taler-ios] 201/204: pop-to-root on second tap, gnunet, 2024/12/05
- [taler-taler-ios] 200/204: reloadTransactions, gnunet, 2024/12/05
- [taler-taler-ios] 202/204: bank accounts - w.i.p., gnunet, 2024/12/05
- [taler-taler-ios] 199/204: A11y as tupel, gnunet, 2024/12/05