Skip to content

Commit fc53cec

Browse files
🛠️ fix: hide menu on Windows
The menu is now hidden on Windows to provide a better user experience and to match the design of the app. This change only affects Windows, as the menu is already hidden on other platforms
1 parent 26fda1f commit fc53cec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/desktop/electron/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,11 @@ function createWindow() {
921921
},
922922
})
923923

924+
// Hide the menu on Windows
925+
if (process.platform === 'win32') {
926+
mainWindow.setMenu(null);
927+
}
928+
924929
// Test active push message to Renderer-process.
925930
mainWindow.webContents.on('did-finish-load', () => {
926931
mainWindow?.webContents.send('main-process-message', (new Date).toLocaleString())

0 commit comments

Comments
 (0)