From 222ff4216d84ea46e2738c3ec3003fb07f564101 Mon Sep 17 00:00:00 2001 From: Dian Date: Fri, 31 Jan 2025 21:07:22 +0800 Subject: [PATCH] add bad icon --- main.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.ts b/main.ts index 22dc29e..47d25bf 100644 --- a/main.ts +++ b/main.ts @@ -1,4 +1,5 @@ import { + addIcon, App, Editor, MarkdownView, @@ -31,8 +32,12 @@ export default class NemesisPlugin extends Plugin { console.log("My openai key: " + this.settings.openAiKey); // This creates an icon in the left ribbon. + addIcon( + "logo", + '' + ); const ribbonIconEl = this.addRibbonIcon( - "dice", + "logo", "Sample Plugin", (evt: MouseEvent) => { // Called when the user clicks the icon.