diff --git a/src/main.ts b/src/main.ts index 82167ed..1e3558f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -221,18 +221,6 @@ class SaveRemoteSettingTab extends PluginSettingTab { await this.plugin.saveSettings(); }) ); - new Setting(containerEl) - .setName("password") - .setDesc("password") - .addText((text) => - text - .setPlaceholder("") - .setValue(`${this.plugin.settings.password}`) - .onChange(async (value) => { - this.plugin.settings.password = value; - await this.plugin.saveSettings(); - }) - ); new Setting(containerEl) .setName("s3BucketName") @@ -246,5 +234,18 @@ class SaveRemoteSettingTab extends PluginSettingTab { await this.plugin.saveSettings(); }) ); + + new Setting(containerEl) + .setName("password") + .setDesc("password") + .addText((text) => + text + .setPlaceholder("") + .setValue(`${this.plugin.settings.password}`) + .onChange(async (value) => { + this.plugin.settings.password = value; + await this.plugin.saveSettings(); + }) + ); } }