Skip to content

Commit

Permalink
Bring back accessibility identifiers for onboarding buttons (#2709)
Browse files Browse the repository at this point in the history
  • Loading branch information
dus7 authored Apr 11, 2024
1 parent d8d7202 commit b8506b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DuckDuckGo/OnboardingButtonsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ struct OnboardingActions: View {
})
.buttonStyle(PrimaryButtonStyle())
.disabled(!viewModel.isContinueEnabled)
.accessibilityIdentifier("Continue")

Button(action: {
self.secondaryAction?()
}, label: {
Text(viewModel.secondaryButtonTitle)
})
.buttonStyle(GhostButtonStyle())
.accessibilityIdentifier("Skip")
}
}
}
Expand Down

0 comments on commit b8506b7

Please sign in to comment.