[mm-34528] hide menu bar (#1530)

This commit is contained in:
Guillermo Vayá 2021-04-09 13:12:33 +02:00 committed by GitHub
parent 8a218f4d29
commit 3f93702379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ export function createSettingsWindow(mainWindow, config, withDevTools) {
enableRemoteModule: process.env.NODE_ENV === 'test', enableRemoteModule: process.env.NODE_ENV === 'test',
}}); }});
const localURL = getLocalURLString('settings.html'); const localURL = getLocalURLString('settings.html');
settingsWindow.setMenuBarVisibility(false);
settingsWindow.loadURL(localURL).catch( settingsWindow.loadURL(localURL).catch(
(reason) => { (reason) => {
log.error(`Settings window failed to load: ${reason}`); log.error(`Settings window failed to load: ${reason}`);