diff --git a/main.js b/main.js index e2425ac..fcc7c60 100644 --- a/main.js +++ b/main.js @@ -161,7 +161,7 @@ const addQuickNote = () => { ]); tray = new Tray(obsidianIcon); tray.setContextMenu(contextMenu); - tray.setToolTip("Obsidian"); + tray.setToolTip(plugin.app.vault.getName() ?? "Obsidian"); tray.on("click", () => toggleWindows(false)); };