Skip to content

Commit

Permalink
Add accessibilityIdentifier to BottomCommandingController's more butt…
Browse files Browse the repository at this point in the history
…on (#1743) (#1744)
  • Loading branch information
joannaquu authored May 12, 2023
1 parent 79cfe7b commit 98035a0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,11 @@ open class BottomCommandingController: UIViewController {
heroViews.forEach { heroCommandStack.addArrangedSubview($0) }
}

private lazy var moreHeroItem: CommandingItem = CommandingItem(title: Constants.BottomBar.moreButtonTitle, image: Constants.BottomBar.moreButtonIcon ?? UIImage(), action: handleMoreCommandTap)
private lazy var moreHeroItem: CommandingItem = {
let moreItem = CommandingItem(title: Constants.BottomBar.moreButtonTitle, image: Constants.BottomBar.moreButtonIcon ?? UIImage(), action: handleMoreCommandTap)
moreItem.accessibilityIdentifier = "More"
return moreItem
}()

private lazy var heroCommandStack: UIStackView = {
let stackView = UIStackView()
Expand Down

0 comments on commit 98035a0

Please sign in to comment.