updated removed code, call super
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
3d971fa569
commit
4fb1930617
@ -91,12 +91,8 @@ open class BreadcrumbItem: ButtonBase {
|
|||||||
|
|
||||||
/// Used to update any Accessibility properties.
|
/// Used to update any Accessibility properties.
|
||||||
open override func updateAccessibility() {
|
open override func updateAccessibility() {
|
||||||
|
super.updateAccessibility()
|
||||||
accessibilityLabel = "Breadcrumb \(text ?? "")"
|
accessibilityLabel = "Breadcrumb \(text ?? "")"
|
||||||
if isEnabled {
|
|
||||||
accessibilityTraits.remove(.notEnabled)
|
|
||||||
} else {
|
|
||||||
accessibilityTraits.insert(.notEnabled)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user