Fix native share button not being displayed for unlisted toots (#13045)
This commit is contained in:
parent
aeb6efbb03
commit
02236332ba
2 changed files with 3 additions and 5 deletions
|
@ -319,7 +319,7 @@ class StatusActionBar extends ImmutablePureComponent {
|
|||
replyTitle = intl.formatMessage(messages.replyAll);
|
||||
}
|
||||
|
||||
const shareButton = ('share' in navigator) && status.get('visibility') === 'public' && (
|
||||
const shareButton = ('share' in navigator) && publicStatus && (
|
||||
<IconButton className='status__action-bar-button' title={intl.formatMessage(messages.share)} icon='share-alt' onClick={this.handleShareClick} />
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue