Remove title from the Windows titlebar
This commit is contained in:
@@ -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">
|
||||||
|
@@ -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}
|
||||||
|
@@ -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>
|
||||||
|
@@ -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">
|
||||||
|
@@ -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}
|
||||||
|
Reference in New Issue
Block a user