Fix native share button not being displayed for unlisted toots (#13045)
This commit is contained in:
1 parent
aeb6efbb03
commit
02236332ba
2 files changed
+3
-5
No files matched your search
@@ -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} />
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user