Move detail approximation after verdict amount
This commit is contained in:
@@ -109,7 +109,7 @@ struct FuelSavingsCapsule: View {
|
||||
HStack(spacing: compact ? 3 : 5) {
|
||||
Image(systemName: Self.symbol(for: result.status))
|
||||
.accessibilityHidden(true)
|
||||
Text(result.capsuleHeadline())
|
||||
Text(compact ? result.capsuleHeadline() : result.detailCapsuleHeadline())
|
||||
.lineLimit(1)
|
||||
// Measured on a 393pt screen: the capsule is handed ~101pt, of
|
||||
// which the icon, its spacing and the 8pt padding either side
|
||||
|
||||
@@ -148,7 +148,7 @@ struct BestValueDetailCard: View {
|
||||
Spacer(minLength: 8)
|
||||
VStack(alignment: .trailing, spacing: 4) {
|
||||
FuelSavingsCapsule(result: result, compact: false)
|
||||
.accessibilityLabel(result.spokenHeadline())
|
||||
.accessibilityLabel(result.detailCapsuleSpokenHeadline())
|
||||
comparison(result)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user