From eb57176a8fbaeec522f77af9de110fc2275e90c0 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Sat, 20 Mar 2021 14:02:46 -0700 Subject: [PATCH] Change accessibility action order --- Views/UIKit/Content Views/StatusView.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Views/UIKit/Content Views/StatusView.swift b/Views/UIKit/Content Views/StatusView.swift index e67f6c1..90c9d3b 100644 --- a/Views/UIKit/Content Views/StatusView.swift +++ b/Views/UIKit/Content Views/StatusView.swift @@ -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