Move the translate item to the top of the menu

zio/stable
Paul Frazee 2023-03-03 13:19:00 -08:00
parent a9920d9630
commit 69d6774277
1 changed files with 7 additions and 7 deletions

View File

@ -147,6 +147,13 @@ export function PostDropdownBtn({
}, },
} }
: undefined, : undefined,
{
icon: 'language',
label: 'Translate...',
onPress() {
onOpenTranslate()
},
},
{ {
icon: ['far', 'paste'], icon: ['far', 'paste'],
label: 'Copy post text', label: 'Copy post text',
@ -161,13 +168,6 @@ export function PostDropdownBtn({
Share.share({url: toShareUrl(itemHref)}) Share.share({url: toShareUrl(itemHref)})
}, },
}, },
{
icon: 'language',
label: 'Translate...',
onPress() {
onOpenTranslate()
},
},
{ {
icon: 'circle-exclamation', icon: 'circle-exclamation',
label: 'Report post', label: 'Report post',