Merge pull request #920 from j-f1/avatar-is-indeed-an-image

IOS-73: Mark AvatarButton as an image
This commit is contained in:
Marcus Kida 2023-02-07 09:50:53 +01:00 committed by GitHub
commit 6362eea3b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ open class AvatarButton: UIControl {
isAccessibilityElement = true isAccessibilityElement = true
accessibilityLabel = L10n.Common.Controls.Status.showUserProfile accessibilityLabel = L10n.Common.Controls.Status.showUserProfile
accessibilityTraits.insert(.image)
} }
public override func layoutSubviews() { public override func layoutSubviews() {