forked from matrix/element-web
Remove outdated workaround which on modern electron makes window not show
This commit is contained in:
parent
9820e59559
commit
cb5ef44d3f
|
@ -373,10 +373,6 @@ app.on('ready', () => {
|
|||
mainWindow.loadURL('vector://vector/webapp/');
|
||||
Menu.setApplicationMenu(vectorMenu);
|
||||
|
||||
// explicitly hide because setApplicationMenu on Linux otherwise shows...
|
||||
// https://github.com/electron/electron/issues/9621
|
||||
mainWindow.hide();
|
||||
|
||||
// Create trayIcon icon
|
||||
if (store.get('minimizeToTray', true)) tray.create(trayConfig);
|
||||
|
||||
|
|
Loading…
Reference in New Issue