Remove title from the Windows titlebar

This commit is contained in:
Fedor Indutny 2022-06-10 12:26:10 -07:00 committed by GitHub
parent 6aeddb9301
commit 531c208918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 8 deletions

View File

@ -35,7 +35,6 @@ export const About = ({
platform={platform}
theme={theme}
executeMenuRole={executeMenuRole}
title={i18n('aboutSignalDesktop')}
>
<div className="About">
<div className="module-splash-screen">

View File

@ -135,7 +135,6 @@ export const App = ({
return (
<TitleBarContainer
title="Signal"
theme={theme}
isMaximized={isMaximized}
isFullScreen={isFullScreen}

View File

@ -148,7 +148,6 @@ export const DebugLogWindow = ({
platform={platform}
theme={theme}
executeMenuRole={executeMenuRole}
title={i18n('debugLog')}
>
<div className="DebugLogWindow">
<div>
@ -192,7 +191,6 @@ export const DebugLogWindow = ({
platform={platform}
theme={theme}
executeMenuRole={executeMenuRole}
title={i18n('debugLog')}
>
<div className="DebugLogWindow">
<div>

View File

@ -1029,7 +1029,6 @@ export const Preferences = ({
platform={platform}
theme={theme}
executeMenuRole={executeMenuRole}
title={i18n('signalDesktopPreferences')}
>
<div className="Preferences">
<div className="Preferences__page-selector">

View File

@ -24,7 +24,6 @@ export type ExecuteMenuRoleType = (
) => void;
export type PropsType = Readonly<{
title: string;
theme: ThemeType;
isMaximized?: boolean;
isFullScreen?: boolean;
@ -106,7 +105,6 @@ function convertMenu(
export const TitleBarContainer = (props: PropsType): JSX.Element => {
const {
title,
theme,
isMaximized,
isFullScreen,
@ -170,7 +168,6 @@ export const TitleBarContainer = (props: PropsType): JSX.Element => {
<TitleBar
className="TitleBarContainer__title"
platform={platform}
title={title}
iconSrc="images/icon_32.png"
theme={titleBarTheme}
maximized={isMaximized}