1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
This commit is contained in:
BlankR 2023-11-03 14:31:31 -07:00 committed by GitHub
parent 3bf2a7296e
commit c4aad7516e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -686,7 +686,7 @@ class Status extends ImmutablePureComponent {
<ColumnHeader
showBackButton
multiColumn={multiColumn}
extraButton={(
extraButton={status.get('spoiler_text').length > 0 && (
<button type='button' className='column-header__button' title={intl.formatMessage(status.get('hidden') ? messages.revealAll : messages.hideAll)} aria-label={intl.formatMessage(status.get('hidden') ? messages.revealAll : messages.hideAll)} onClick={this.handleToggleAll}><Icon id={status.get('hidden') ? 'eye-slash' : 'eye'} icon={status.get('hidden') ? VisibilityOffIcon : VisibilityIcon} /></button>
)}
/>