mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-22 00:01:00 +00:00
Change accessibility action order
This commit is contained in:
parent
f70c60fde5
commit
eb57176a8f
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue