mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-31 05:29:58 +01:00
move the setter from the deprecated method also
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
15a9a3f704
commit
825d90e27b
@ -267,7 +267,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
||||
break;
|
||||
case 'setAutoHideMenuBarEnabled':
|
||||
store.set('autoHideMenuBar', args[0]);
|
||||
global.mainWindow.setAutoHideMenuBar(args[0]);
|
||||
global.mainWindow.autoHideMenuBar = Boolean(args[0]);
|
||||
global.mainWindow.setMenuBarVisibility(!args[0]);
|
||||
break;
|
||||
case 'getAppVersion':
|
||||
|
Loading…
x
Reference in New Issue
Block a user