diff --git a/FuelBoard/StationDetailView.swift b/FuelBoard/StationDetailView.swift index 835c9f6..7a5e12f 100644 --- a/FuelBoard/StationDetailView.swift +++ b/FuelBoard/StationDetailView.swift @@ -138,6 +138,12 @@ struct StationDetailView: View { .frame(maxWidth: .infinity) } } + // REQUIRED: with the default button style a `List` row has ONE + // row-wide tap target, so two buttons in the same row BOTH fire + // on any tap inside the row (tapping Directions also showed the + // report-issue alert and vice versa). `.borderless` gives each + // button its own hit area — the half-row frame above. + .buttonStyle(.borderless) } Section { // The station name is NOT repeated here: the sheet header