mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Merge pull request #38 from vector-im/t3chguy/depr8
Electron 8 changes. Deprecations. Updates.
This commit is contained in:
commit
1dd7c168cf
@ -61,7 +61,7 @@
|
||||
},
|
||||
"build": {
|
||||
"appId": "im.riot.app",
|
||||
"electronVersion": "8.0.2",
|
||||
"electronVersion": "8.0.3",
|
||||
"files": [
|
||||
"package.json",
|
||||
{
|
||||
|
@ -264,11 +264,11 @@ 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]);
|
||||
global.mainWindow.setAutoHideMenuBar(args[0]);
|
||||
global.mainWindow.autoHideMenuBar = Boolean(args[0]);
|
||||
global.mainWindow.setMenuBarVisibility(!args[0]);
|
||||
break;
|
||||
case 'getAppVersion':
|
||||
|
Loading…
Reference in New Issue
Block a user