custom window title works on mac

This commit is contained in:
Jan Prochazka
2022-04-10 09:41:55 +02:00
parent 38e05bf8e0
commit 12a638af3b
4 changed files with 24 additions and 17 deletions

View File

@@ -18,6 +18,7 @@
import { EDITOR_THEMES, FONT_SIZES } from '../query/AceEditor.svelte';
import SqlEditor from '../query/SqlEditor.svelte';
import { currentEditorFontSize, currentEditorTheme, extensions, selectedWidget } from '../stores';
import { isMac } from '../utility/common';
import getElectron from '../utility/getElectron';
import ThemeSkeleton from './ThemeSkeleton.svelte';
@@ -66,7 +67,7 @@ ORDER BY
<div class="heading">Appearance</div>
<FormCheckboxField
name="app.useNativeMenu"
label="Use system native menu"
label={isMac() ? 'Use native window title' : 'Use system native menu'}
on:change={() => {
restartWarning = true;
}}