1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-02 08:48:39 +09:00

Fix translate button not being shown when the toot has no Content Warning

This commit is contained in:
Claire 2022-11-30 14:44:06 +01:00
parent 620b079a78
commit afdd75e1f9

View File

@ -432,7 +432,7 @@ class StatusContent extends React.PureComponent {
/> />
{media} {media}
{extraMedia} {extraMedia}
{!hidden && translateButton} {translateButton}
</div> </div>
); );
} else { } else {
@ -453,7 +453,7 @@ class StatusContent extends React.PureComponent {
/> />
{media} {media}
{extraMedia} {extraMedia}
{!hidden && translateButton} {translateButton}
</div> </div>
); );
} }