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
@@ -127,9 +127,10 @@ extension FuelBoardLiveActivityAttributes.ContentState {
FuelStore.loadDistanceUnit().format(distanceKM)
}
/// £ price string from pence, e.g. 161.9 -> "£1.619".
/// Price string from pence, in the user's chosen display style
/// (station sign "£129.9" or pounds "£1.299").
var priceText: String {
String(format: "£%.3f", pricePence / 100)
FuelStore.priceText(pricePence)
}
/// Apple Maps directions URL to the pinned station.