commit 0eb98d364fbb8046edc6954598c162b7e45e63c8
parent 3b03434a26390ffa29ef1f96e11cb91cfdf157b9
Author: Marc Stibane <marc@taler.net>
Date: Mon, 8 Apr 2024 16:02:46 +0200
accessibility
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git 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
@@ -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) {