From 485ef782b60e194161b9a493693e78aaaac2469f Mon Sep 17 00:00:00 2001 From: FuelBoard Contributor Date: Sat, 15 Aug 2026 14:22:43 +0100 Subject: [PATCH] Stations tab: explainer styled like the Favourites cheapest callout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The N/TOTAL stations-updated explainer now sits in a plain caption Section cell at the bottom of the tab (font .caption, secondary) — matching the Favourites tab's bottom callout instead of rendering as a section footer. --- FuelBoard/StationsView.swift | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/FuelBoard/StationsView.swift b/FuelBoard/StationsView.swift index 20d4b76..50e8199 100644 --- a/FuelBoard/StationsView.swift +++ b/FuelBoard/StationsView.swift @@ -137,14 +137,12 @@ struct StationsView: View { } } - // Bottom-of-tab explainer (moved from the top 2026-08-16): - // own section so the type-checker isn't asked to type the - // full stations section AND its footer in one expression. + // Bottom-of-tab explainer (moved from the top 2026-08-16), + // styled like the Favourites tab's cheapest callout: a caption + // paragraph in its own section cell. Section { - EmptyView() - } footer: { Text(footerCaption) - .font(.footnote) + .font(.caption) .foregroundStyle(.secondary) }