Merge pull request #920 from j-f1/avatar-is-indeed-an-image
IOS-73: Mark AvatarButton as an image
This commit is contained in:
commit
6362eea3b9
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue