File tree Expand file tree Collapse file tree
Aztec/Classes/GUI/FormatBar Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -864,19 +864,8 @@ extension FormatBar: UIScrollViewDelegate {
864864
865865// MARK: - Accessibility
866866
867- extension FormatBar {
868- /// The accessibility label of the overflow toggle button
869- ///
870- public var overflowToggleAccessibilityLabel : String ? {
871- set {
872- overflowToggleItem. accessibilityLabel = newValue
873- }
874- get {
875- return overflowToggleItem. accessibilityLabel
876- }
877- }
878-
879- private func updateOverflowToggleItemAccessibilityTraits( expanded: Bool ) {
867+ private extension FormatBar {
868+ func updateOverflowToggleItemAccessibilityTraits( expanded: Bool ) {
880869 // We _could_ use overflowToggleItem.isSelected instead of modifying the traits. However,
881870 // that would highlight the button with another color, which we don't need.
882871 overflowToggleItem. accessibilityTraits = expanded ? [ . button, . selected] : [ . button]
You can’t perform that action at this time.
0 commit comments