From a6b1e24cd678b346f181fde9efe31904825befa9 Mon Sep 17 00:00:00 2001 From: FuelBoard Contributor Date: Wed, 12 Aug 2026 08:02:38 +0100 Subject: [PATCH] Merge station count into the top explainer The 'N stations within X' caption now lives in the header explainer (Closest/Cheapest + radius + count on one line); the Distance section shows just the picker. --- FuelBoard/StationsView.swift | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/FuelBoard/StationsView.swift b/FuelBoard/StationsView.swift index ec6d08a..6535781 100644 --- a/FuelBoard/StationsView.swift +++ b/FuelBoard/StationsView.swift @@ -30,11 +30,11 @@ struct StationsView: View { Section { if let location { if sortMode == .closest { - Text("Closest \(selectedFuel.displayName) stations — nearest first, best value within \(stationLimit) \(distanceUnit.label).") + Text("Closest \(selectedFuel.displayName) stations — nearest first, best value within \(stationLimit) \(distanceUnit.label) · \(totalCount) stations") .font(.footnote) .foregroundStyle(.secondary) } else { - Text("Cheapest \(selectedFuel.displayName) within \(stationLimit) \(distanceUnit.label) — tap a station for directions.") + Text("Cheapest \(selectedFuel.displayName) within \(stationLimit) \(distanceUnit.label) — \(totalCount) stations · tap a station for directions.") .font(.footnote) .foregroundStyle(.secondary) } @@ -75,11 +75,6 @@ struct StationsView: View { FuelStore.saveStationLimit(newValue) } .padding(.vertical, 2) - if sortMode != .closest { - Text("\(totalCount) stations within \(stationLimit) \(distanceUnit.label)") - .font(.caption2) - .foregroundStyle(.secondary) - } } Section("Stations") {