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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user