Merge pull request #916 from j-f1/logo-traits

IOS-67: Add the “Header” and “Button” traits to the logo button
This commit is contained in:
Marcus Kida 2023-02-07 09:45:45 +01:00 committed by GitHub
commit 0a1910c90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
}
}