Change accessibility action order

This commit is contained in:
Justin Mazzocchi 2021-03-20 14:02:46 -07:00
parent f70c60fde5
commit eb57176a8f
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
1 changed files with 1 additions and 3 deletions

View File

@ -946,7 +946,7 @@ private extension StatusView {
return []
}
var actions = [UIAccessibilityCustomAction]()
var actions = bodyView.accessibilityCustomActions ?? []
if replyButton.isEnabled {
actions.append(UIAccessibilityCustomAction(
@ -1013,8 +1013,6 @@ private extension StatusView {
return true
})
actions.append(contentsOf: bodyView.accessibilityCustomActions ?? [])
if menuButton.isEnabled {
actions.append(UIAccessibilityCustomAction(
name: viewModel.bookmarked