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} platform={platform}
theme={theme} theme={theme}
executeMenuRole={executeMenuRole} executeMenuRole={executeMenuRole}
title={i18n('aboutSignalDesktop')}
> >
<div className="About"> <div className="About">
<div className="module-splash-screen"> <div className="module-splash-screen">

View file

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

View file

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

View file

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

View file

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