Skip to content

Commit

Permalink
Add a note about support
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Oct 3, 2024
1 parent 2f9b9a2 commit bb3dc61
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,14 @@ private struct SubmitFeedbackView: View {
}
.listRowInsets(EdgeInsets(top: 8, leading: 16, bottom: 8, trailing: 16))
}
Section {
Text(Strings.footer)
.font(.footnote)
.foregroundStyle(.secondary)
.padding(4)
}
ZendeskAttachmentsSection(viewModel: attachmentsViewModel)
.listRowSeparator(.hidden)
.listRowSeparator(.hidden, edges: .bottom)
}

private func submit() {
Expand Down Expand Up @@ -178,6 +184,7 @@ private enum Strings {
static let submit = NSLocalizedString("submit.feedback.submit.button", value: "Submit", comment: "The button title for the Submit button in the In-App Feedback screen")
static let title = NSLocalizedString("submit.feedback.title", value: "Feedback", comment: "The title for the the In-App Feedback screen")
static let details = NSLocalizedString("submit.feedback.detailsPlaceholder", value: "Details", comment: "The section title and or placeholder")
static let footer = NSLocalizedString("submit.feedback.footer", value: "If you need support, please get in touch using the \"Help & Support\" screen", comment: "The footer in the Submit Feedback screen to clarify that it's not support")

static let cancellationAlertTitle = NSLocalizedString("submitFeedback.cancellationAlertTitle", value: "Are you sure you want to discard the feedback", comment: "Submit feedback screen cancellation confirmation alert title")
static let cancellationAlertContinueEditing = NSLocalizedString("submitFeedback.cancellationAlertContinueEditing", value: "Continue Editing", comment: "Submit feedback screen cancellation confirmation alert action")
Expand Down

0 comments on commit bb3dc61

Please sign in to comment.