This commit is contained in:
Zhiyuan Zheng 2021-03-29 23:56:13 +02:00
parent 4be0fb5a5f
commit d7f1c87c9b
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
1 changed files with 7 additions and 5 deletions

View File

@ -132,11 +132,13 @@ const ScreenActionsRoot = React.memo(
dismiss={dismiss}
/>
)}
<ActionsShare
url={params.status.url || params.status.uri}
type={params.type}
dismiss={dismiss}
/>
{params.status.visibility !== 'direct' && (
<ActionsShare
url={params.status.url || params.status.uri}
type={params.type}
dismiss={dismiss}
/>
)}
<Button
type='text'
content={t('common:buttons.cancel')}