Add (E10)/(E5) bracket labels to Unleaded/Premium in picker and descriptions

This commit is contained in:
FuelBoard Contributor
2026-08-11 22:41:50 +01:00
parent 313fe84037
commit 05f3ef0a70
2 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -193,11 +193,12 @@ struct StationsView: View {
// MARK: - Fuel-type iconography (app target only FuelStore.swift is Foundation-only)
extension FuelType {
/// Short segment label ("Unleaded" / "Premium" / "Diesel") for the picker.
/// Short segment label ("Unleaded (E10)" / "Premium (E5)" / "Diesel") for
/// the picker and description.
var shortName: String {
switch self {
case .e10: return "Unleaded"
case .e5: return "Premium"
case .e10: return "Unleaded (E10)"
case .e5: return "Premium (E5)"
case .diesel: return "Diesel"
}
}