aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Stibane <marc@taler.net>2024-04-08 16:02:46 +0200
committerMarc Stibane <marc@taler.net>2024-04-08 16:02:46 +0200
commit0eb98d364fbb8046edc6954598c162b7e45e63c8 (patch)
tree06201f2e125dd7688c61c12a5f0152ffebc1becd
parent3b03434a26390ffa29ef1f96e11cb91cfdf157b9 (diff)
downloadtaler-ios-0eb98d364fbb8046edc6954598c162b7e45e63c8.tar.gz
taler-ios-0eb98d364fbb8046edc6954598c162b7e45e63c8.tar.bz2
taler-ios-0eb98d364fbb8046edc6954598c162b7e45e63c8.zip
accessibility
-rw-r--r--TalerWallet1/Views/HelperViews/AmountRowV.swift1
-rw-r--r--TalerWallet1/Views/Transactions/ThreeAmountsV.swift3
2 files changed, 1 insertions, 3 deletions
diff --git a/TalerWallet1/Views/HelperViews/AmountRowV.swift b/TalerWallet1/Views/HelperViews/AmountRowV.swift
index 5655ce5..4f30d9f 100644
--- a/TalerWallet1/Views/HelperViews/AmountRowV.swift
+++ b/TalerWallet1/Views/HelperViews/AmountRowV.swift
@@ -47,6 +47,7 @@ struct AmountRowV: View {
}
}
.frame(maxWidth: .infinity, alignment: .leading)
+ .accessibilityElement(children: .combine)
.listRowSeparator(.hidden)
}
}
diff --git a/TalerWallet1/Views/Transactions/ThreeAmountsV.swift b/TalerWallet1/Views/Transactions/ThreeAmountsV.swift
index 6e61e21..f67966f 100644
--- a/TalerWallet1/Views/Transactions/ThreeAmountsV.swift
+++ b/TalerWallet1/Views/Transactions/ThreeAmountsV.swift
@@ -91,7 +91,6 @@ struct ThreeAmountsV: View {
color: labelColor,
large: false)
.padding(.bottom, 4)
- .accessibilityElement(children: .combine)
if let fee {
AmountRowV(title: minimalistic ? String(localized: "Fee (short):", defaultValue:"Fee:", comment:"short version")
: String(localized: "Fee (long):", defaultValue:"Fee:", comment:"long version"),
@@ -99,14 +98,12 @@ struct ThreeAmountsV: View {
color: labelColor,
large: false)
.padding(.bottom, 4)
- .accessibilityElement(children: .combine)
}
if let bottomAmount {
AmountRowV(title: minimalistic ? bottomAbbrev : bottomTitle,
amount: bottomAmount,
color: foreColor,
large: large)
- .accessibilityElement(children: .combine)
}
if let baseURL {
VStack(alignment: .leading) {