From 69d677427759e6eb5fd42f6b3afed3086f71031b Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 3 Mar 2023 13:19:00 -0800 Subject: [PATCH] Move the translate item to the top of the menu --- src/view/com/util/forms/DropdownButton.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/view/com/util/forms/DropdownButton.tsx b/src/view/com/util/forms/DropdownButton.tsx index dcabe545..ac83d1a5 100644 --- a/src/view/com/util/forms/DropdownButton.tsx +++ b/src/view/com/util/forms/DropdownButton.tsx @@ -147,6 +147,13 @@ export function PostDropdownBtn({ }, } : undefined, + { + icon: 'language', + label: 'Translate...', + onPress() { + onOpenTranslate() + }, + }, { icon: ['far', 'paste'], label: 'Copy post text', @@ -161,13 +168,6 @@ export function PostDropdownBtn({ Share.share({url: toShareUrl(itemHref)}) }, }, - { - icon: 'language', - label: 'Translate...', - onPress() { - onOpenTranslate() - }, - }, { icon: 'circle-exclamation', label: 'Report post',