diff --git a/app/javascript/mastodon/features/status/index.jsx b/app/javascript/mastodon/features/status/index.jsx index d693ba744d1..d61e802ab20 100644 --- a/app/javascript/mastodon/features/status/index.jsx +++ b/app/javascript/mastodon/features/status/index.jsx @@ -575,20 +575,30 @@ class Status extends ImmutablePureComponent { onTranslate: this.handleHotkeyTranslate, }; + const pageTitle = status.visibility === 'direct' ? ( + + }} + /> + ) : ( + + }} + /> + ); + return ( {isRedesignEnabled() ? ( - }} - /> - } + title={pageTitle} extraButtons={