From 88b30431a3121aec9255663ced7d0c484397fcae Mon Sep 17 00:00:00 2001 From: Zac Date: Wed, 4 Dec 2024 20:23:10 -0500 Subject: [PATCH] update api key input box to be password type --- main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/main.ts b/main.ts index 12e91f4..4a286d3 100644 --- a/main.ts +++ b/main.ts @@ -258,6 +258,7 @@ class AtomicSettingTab extends PluginSettingTab { .addText(text => text .setPlaceholder('sk-...') .setValue(this.plugin.settings.apiKey) + .then(text => text.inputEl.type = 'password') .onChange(async (value) => { this.plugin.settings.apiKey = value; await this.plugin.saveSettings();