Best Value detail sheet: keep the verdict capsule left-aligned

The capsule was right-aligned on its own line; the user asked for it back at
the left margin, leaving the Total row as it is.
This commit is contained in:
FuelBoard Contributor
2026-10-14 11:31:59 +01:00
parent 3c424ab397
commit 6ea675499e
-1
View File
@@ -118,7 +118,6 @@ struct FuelSavingsSummaryView: View {
// matched neither the listing nor each other. // matched neither the listing nor each other.
VStack(alignment: .leading, spacing: 10) { VStack(alignment: .leading, spacing: 10) {
capsule(for: result, compact: false) capsule(for: result, compact: false)
.frame(maxWidth: .infinity, alignment: .trailing)
.accessibilityLabel(accessibilityHeadline(for: result)) .accessibilityLabel(accessibilityHeadline(for: result))
LabeledContent("Your fill-up", value: amountText) LabeledContent("Your fill-up", value: amountText)
LabeledContent("Fuel you'll receive", value: String(format: "%.2f litres", result.fillLitres)) LabeledContent("Fuel you'll receive", value: String(format: "%.2f litres", result.fillLitres))