[mm-34528] hide menu bar (#1530)
This commit is contained in:
@@ -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}`);
|
||||||
|
Reference in New Issue
Block a user