mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-23 15:49:42 -04:00
Add menu separators in view and help menus (#3802)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user