Settings: price display toggle — station sign (£129.9) vs pounds & pence (£1.299); display-only, all surfaces (list, widgets, Live Activity, Siri cards); Siri dialog stays speech-safe pounds

This commit is contained in:
FuelBoard Contributor
2026-08-14 15:33:26 +01:00
parent 819d2e6152
commit fd7fa5f9c9
10 changed files with 150 additions and 36 deletions
+2 -2
View File
@@ -395,7 +395,7 @@ struct FuelPriceWidgetView: View {
.font(.headline)
.lineLimit(1)
if let price = station.prices[entry.fuel] {
Text(String(format: "£%.3f", price / 100))
Text(FuelStore.priceText(price))
.font(.system(size: 26, weight: .bold).monospaced())
.foregroundStyle(.green)
}
@@ -455,7 +455,7 @@ struct FuelPriceWidgetView: View {
Circle()
.fill(ragColor(for: price, cheapest: cheapest))
.frame(width: 6, height: 6)
Text(String(format: "£%.3f", price / 100))
Text(FuelStore.priceText(price))
.font(.caption.weight(.bold).monospaced())
.foregroundStyle(.primary)
}