fix: shorten report confirmation action
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user