From 60ef1a83f97fa1e9cf79e9eb29ffe09362ca6e4e Mon Sep 17 00:00:00 2001 From: Johan Hammar Date: Sun, 11 Jul 2021 09:28:35 +0200 Subject: [PATCH] Add menu separators in view and help menus (#3802) --- packages/insomnia-app/app/main/window-utils.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/insomnia-app/app/main/window-utils.ts b/packages/insomnia-app/app/main/window-utils.ts index 8a3fd27949..b5a32c81aa 100644 --- a/packages/insomnia-app/app/main/window-utils.ts +++ b/packages/insomnia-app/app/main/window-utils.ts @@ -271,6 +271,9 @@ export function createWindow() { saveZoomFactor(zoomFactor); }, }, + { + type: 'separator', + }, { label: 'Toggle Sidebar', click: () => { @@ -335,6 +338,9 @@ export function createWindow() { w.webContents.send('toggle-preferences-shortcuts'); }, }, + { + type: 'separator', + }, { label: `Show App ${MNEMONIC_SYM}Data Folder`, click: () => { @@ -349,6 +355,9 @@ export function createWindow() { shell.showItemInFolder(directory); }, }, + { + type: 'separator', + }, { label: 'Show Open Source Licenses', click: () => { @@ -410,6 +419,9 @@ export function createWindow() { } else { // @ts-expect-error -- TSCONVERSION type splitting helpMenu.submenu?.push({ + type: 'separator', + }, + { label: `${MNEMONIC_SYM}About`, click: aboutMenuClickHandler, });