diff options
author | 2018-03-19 13:17:19 +0100 | |
---|---|---|
committer | 2018-03-19 13:17:19 +0100 | |
commit | 8978e0caa00959e54af05620db765cd95b30e73d (patch) | |
tree | f84f4c9bd66acab1dd675f062f17d125bf5c6248 /src | |
parent | Disable custom titlebar for Linux (diff) | |
download | ferdium-app-8978e0caa00959e54af05620db765cd95b30e73d.tar.gz ferdium-app-8978e0caa00959e54af05620db765cd95b30e73d.tar.zst ferdium-app-8978e0caa00959e54af05620db765cd95b30e73d.zip |
fix logic issue
Diffstat (limited to 'src')
-rw-r--r-- | src/components/layout/AppLayout.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index 4aff6ff72..66aef1730 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js | |||
@@ -7,7 +7,7 @@ import { TitleBar } from 'electron-react-titlebar'; | |||
7 | import InfoBar from '../ui/InfoBar'; | 7 | import InfoBar from '../ui/InfoBar'; |
8 | import globalMessages from '../../i18n/globalMessages'; | 8 | import globalMessages from '../../i18n/globalMessages'; |
9 | 9 | ||
10 | import { isMac, isLinux } from '../../environment'; | 10 | import { isWindows } from '../../environment'; |
11 | 11 | ||
12 | function createMarkup(HTMLString) { | 12 | function createMarkup(HTMLString) { |
13 | return { __html: HTMLString }; | 13 | return { __html: HTMLString }; |
@@ -90,7 +90,7 @@ export default class AppLayout extends Component { | |||
90 | return ( | 90 | return ( |
91 | <div> | 91 | <div> |
92 | <div className="app"> | 92 | <div className="app"> |
93 | {!isMac || !isLinux && <TitleBar menu={window.franz.menu.template} icon={'assets/images/logo.svg'} />} | 93 | {isWindows && <TitleBar menu={window.franz.menu.template} icon={'assets/images/logo.svg'} />} |
94 | <div className="app__content"> | 94 | <div className="app__content"> |
95 | {sidebar} | 95 | {sidebar} |
96 | <div className="app__service"> | 96 | <div className="app__service"> |