Change accessibility action order
This commit is contained in:
parent
f70c60fde5
commit
eb57176a8f
|
@ -946,7 +946,7 @@ private extension StatusView {
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
|
|
||||||
var actions = [UIAccessibilityCustomAction]()
|
var actions = bodyView.accessibilityCustomActions ?? []
|
||||||
|
|
||||||
if replyButton.isEnabled {
|
if replyButton.isEnabled {
|
||||||
actions.append(UIAccessibilityCustomAction(
|
actions.append(UIAccessibilityCustomAction(
|
||||||
|
@ -1013,8 +1013,6 @@ private extension StatusView {
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|
||||||
actions.append(contentsOf: bodyView.accessibilityCustomActions ?? [])
|
|
||||||
|
|
||||||
if menuButton.isEnabled {
|
if menuButton.isEnabled {
|
||||||
actions.append(UIAccessibilityCustomAction(
|
actions.append(UIAccessibilityCustomAction(
|
||||||
name: viewModel.bookmarked
|
name: viewModel.bookmarked
|
||||||
|
|
Loading…
Reference in New Issue