Skip to content

Commit

Permalink
Change the button text to Done
Browse files Browse the repository at this point in the history
  • Loading branch information
hichamboushaba committed Oct 28, 2024
1 parent a4b30cd commit 2ce7930
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ struct CustomFieldEditorView: View {
saveChanges()
dismiss()
} label: {
Text(Localization.saveButton)
Text(Localization.doneButton)
}
.disabled(!hasUnsavedChanges)

Expand Down Expand Up @@ -174,10 +174,10 @@ private extension CustomFieldEditorView {
comment: "Label for the Cancel button to close the editor"
)

static let saveButton = NSLocalizedString(
"customFieldEditorView.save",
value: "Save",
comment: "Label for the Save button to save changes"
static let doneButton = NSLocalizedString(
"customFieldEditorView.done",
value: "Done",
comment: "Label for the Done button to save changes"
)

static let keyLabel = NSLocalizedString(
Expand Down

0 comments on commit 2ce7930

Please sign in to comment.