diff --git a/src/renderer/components/windows-title-bar.tsx b/src/renderer/components/windows-title-bar.tsx index 4e2ff852..9148a5b7 100644 --- a/src/renderer/components/windows-title-bar.tsx +++ b/src/renderer/components/windows-title-bar.tsx @@ -13,6 +13,7 @@ const TITLE_BAR_NAMESPACE = 'TitleBar'; export default class WindowsTitleBar extends React.Component<{}, IState> { private readonly window: Electron.BrowserWindow; + private readonly title: string; private readonly eventHandlers = { onClose: () => this.close(), onMaximize: () => this.maximize(), @@ -24,6 +25,7 @@ export default class WindowsTitleBar extends React.Component<{}, IState> { constructor(props) { super(props); this.window = remote.getCurrentWindow(); + this.title = document.title || 'Symphony'; this.state = { isFullScreen: this.window.isFullScreen(), isMaximized: this.window.isMaximized(), @@ -77,7 +79,7 @@ export default class WindowsTitleBar extends React.Component<{}, IState> {
{this.getSymphonyLogo()} -

{document.title || 'Symphony'}

+

{this.title}