diff --git a/FuelBoard/StationDetailView.swift b/FuelBoard/StationDetailView.swift index e222ec5..eec749f 100644 --- a/FuelBoard/StationDetailView.swift +++ b/FuelBoard/StationDetailView.swift @@ -119,6 +119,24 @@ 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. + HStack(spacing: 12) { + Button { + openDirections() + } label: { + Label("Directions", systemImage: "arrow.triangle.turn.up.right.diamond.fill") + .frame(maxWidth: .infinity) + } + Button(role: .destructive) { + showingReportIssueConfirmation = true + } label: { + Label("Report issue", systemImage: "exclamationmark.bubble.fill") + .frame(maxWidth: .infinity) + } + } } Section { // The station name is NOT repeated here: the sheet header @@ -208,18 +226,6 @@ struct StationDetailView: View { } #endif - Section { - Button { - openDirections() - } label: { - Label("Directions", systemImage: "arrow.triangle.turn.up.right.diamond.fill") - } - Button(role: .destructive) { - showingReportIssueConfirmation = true - } label: { - Label("Report issue", systemImage: "exclamationmark.bubble.fill") - } - } } .navigationTitle(station.name) .navigationBarTitleDisplayMode(.inline)