mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
desktop: do not set icons in dock menu
This commit is contained in:
committed by
Abdullah Atta
parent
7df64837fe
commit
ca08fc0e9d
@@ -74,7 +74,6 @@ function setDockMenuOnMacOs() {
|
||||
{
|
||||
label: "New note",
|
||||
type: "normal",
|
||||
icon: AssetManager.icon("note-add", { size: 16 }),
|
||||
click: () => {
|
||||
bringToFront();
|
||||
sendMessageToRenderer(EVENTS.createItem, { itemType: "note" });
|
||||
@@ -83,7 +82,6 @@ function setDockMenuOnMacOs() {
|
||||
{
|
||||
label: "New notebook",
|
||||
type: "normal",
|
||||
icon: AssetManager.icon("notebook-add", { size: 16 }),
|
||||
click: () => {
|
||||
bringToFront();
|
||||
sendMessageToRenderer(EVENTS.createItem, { itemType: "notebook" });
|
||||
@@ -92,12 +90,11 @@ function setDockMenuOnMacOs() {
|
||||
{
|
||||
label: "New reminder",
|
||||
type: "normal",
|
||||
icon: AssetManager.icon("reminder-add", { size: 16 }),
|
||||
click: () => {
|
||||
bringToFront();
|
||||
sendMessageToRenderer(EVENTS.createItem, { itemType: "reminder" });
|
||||
}
|
||||
},
|
||||
}
|
||||
]);
|
||||
app.dock.setMenu(contextMenu);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user