From 1b2bdd46ea0bc3b139a8de1aaeb9eeef8b4d87f7 Mon Sep 17 00:00:00 2001 From: FuelBoard Contributor Date: Wed, 14 Oct 2026 12:07:54 +0100 Subject: [PATCH] More info sheet: give the two station actions their own card below the map Sharing the map's section made the buttons read as part of the map card and the map tap target. They now sit in their own section, rendering as a separate card directly beneath the map. --- FuelBoard/StationDetailView.swift | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/FuelBoard/StationDetailView.swift b/FuelBoard/StationDetailView.swift index eec749f..835c9f6 100644 --- a/FuelBoard/StationDetailView.swift +++ b/FuelBoard/StationDetailView.swift @@ -119,10 +119,11 @@ struct StationDetailView: View { comment: "Accessibility hint for the tappable map preview in the More info sheet")) } .listRowInsets(EdgeInsets()) - // Both actions sit on ONE line directly under the map: the - // two things you can DO with a station belong with the - // station, not stranded at the foot of the sheet. Equal - // halves, so neither reads as the primary action. + } + // The two station actions live in their OWN section, so they + // render as a separate card BELOW the map instead of sharing the + // map's card and looking attached to the map tap target. + Section { HStack(spacing: 12) { Button { openDirections()