mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Migrate from deprecated BrowserWindow::isMenuBarAutoHide()
This commit is contained in:
parent
40eec12b86
commit
c91a39097d
@ -263,7 +263,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
||||
store.set('minimizeToTray', args[0]);
|
||||
break;
|
||||
case 'getAutoHideMenuBarEnabled':
|
||||
ret = global.mainWindow.isMenuBarAutoHide();
|
||||
ret = global.mainWindow.autoHideMenuBar;
|
||||
break;
|
||||
case 'setAutoHideMenuBarEnabled':
|
||||
store.set('autoHideMenuBar', args[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user