From 3c83c9b5182b21936b0f2bd0f460a3916547fe9c Mon Sep 17 00:00:00 2001 From: FuelBoard Contributor Date: Thu, 17 Sep 2026 22:30:25 +0100 Subject: [PATCH] fix: shorten report confirmation action --- FuelBoard/StationDetailView.swift | 2 +- FuelBoard/en.lproj/Localizable.strings | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FuelBoard/StationDetailView.swift b/FuelBoard/StationDetailView.swift index cf1943f..2d0512d 100644 --- a/FuelBoard/StationDetailView.swift +++ b/FuelBoard/StationDetailView.swift @@ -65,7 +65,7 @@ struct StationDetailView: View { .navigationBarTitleDisplayMode(.inline) .alert("Report an error?", isPresented: $showingReportIssueConfirmation) { Button("Cancel", role: .cancel) { } - Button("Open GOV.UK") { + Button("Report") { UIApplication.shared.open(reportIssueURL) } } message: { diff --git a/FuelBoard/en.lproj/Localizable.strings b/FuelBoard/en.lproj/Localizable.strings index ac754c2..73a9c89 100644 --- a/FuelBoard/en.lproj/Localizable.strings +++ b/FuelBoard/en.lproj/Localizable.strings @@ -150,7 +150,7 @@ "Report issue" = "Report issue"; "Report an error?" = "Report an error?"; "Cancel" = "Cancel"; -"Open GOV.UK" = "Open GOV.UK"; +"Report" = "Report"; "Are you sure you want to report an error in fuel prices or forecourt details? This will open in your chosen browser." = "Are you sure you want to report an error in fuel prices or forecourt details? This will open in your chosen browser."; /* Station row */