Skip to content

Commit

Permalink
Fixed catalog missing accessibility action config parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dhidalgofadrique committed Jun 25, 2024
1 parent 0368d69 commit 601d5ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private extension UICatalogCroutonViewController {

private var croutonAction: CroutonController.ActionConfig? {
guard let title = actionTitleCell.textField.text, !title.isEmpty else { return nil }
return CroutonController.ActionConfig(text: title, handler: { print("Crouton Action Tapped") })
return CroutonController.ActionConfig(text: title, accessibilityLabel: "Crouton action", handler: { print("Crouton Action Tapped") })
}

var croutonDismissInterval: SnackbarDismissInterval {
Expand Down

0 comments on commit 601d5ee

Please sign in to comment.