IOS-67: Add the “Header” and “Button” traits to the logo button

This commit is contained in:
Jed Fox 2023-02-06 21:09:55 -05:00
parent 3b87916d9a
commit 5118649dd4
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ extension HomeTimelineNavigationBarTitleView {
button.addTarget(self, action: #selector(HomeTimelineNavigationBarTitleView.buttonDidPressed(_:)), for: .touchUpInside)
logoButton.accessibilityIdentifier = "TitleButton"
logoButton.accessibilityTraits = [.header, .button]
button.accessibilityIdentifier = "TitleButton"
}
}