Stations tab: explainer styled like the Favourites cheapest callout
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.
This commit is contained in:
@@ -137,14 +137,12 @@ struct StationsView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bottom-of-tab explainer (moved from the top 2026-08-16):
|
// Bottom-of-tab explainer (moved from the top 2026-08-16),
|
||||||
// own section so the type-checker isn't asked to type the
|
// styled like the Favourites tab's cheapest callout: a caption
|
||||||
// full stations section AND its footer in one expression.
|
// paragraph in its own section cell.
|
||||||
Section {
|
Section {
|
||||||
EmptyView()
|
|
||||||
} footer: {
|
|
||||||
Text(footerCaption)
|
Text(footerCaption)
|
||||||
.font(.footnote)
|
.font(.caption)
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user