From 61524e1c44b771995c08511cfbcf91a226670294 Mon Sep 17 00:00:00 2001 From: Volkor Date: Wed, 4 Dec 2024 00:17:41 +1100 Subject: [PATCH] FIX: manual setup button --- .../SettingDialogue/ObsidianLiveSyncSettingTab.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/modules/features/SettingDialogue/ObsidianLiveSyncSettingTab.ts b/src/modules/features/SettingDialogue/ObsidianLiveSyncSettingTab.ts index ffaaf60..b1530b6 100644 --- a/src/modules/features/SettingDialogue/ObsidianLiveSyncSettingTab.ts +++ b/src/modules/features/SettingDialogue/ObsidianLiveSyncSettingTab.ts @@ -932,12 +932,14 @@ Store only the settings. **Caution: This may lead to data corruption**; database }); new Setting(paneEl) - .setName("Manual setup").addButton((text) - .setDesc("Not recommended, but useful if you don't have a Setup URI") => { - text.setButtonText("Start").onClick(async () => { - await this.enableMinimalSetup(); - }); + .setName("Manual setup") + .setDesc("Not recommended, but useful if you don't have a Setup URI") + .addButton((text) => { + text.setButtonText("Start").onClick(async () => { + await this.enableMinimalSetup(); + }); }); + new Setting(paneEl) .setName("Enable LiveSync") .setDesc("Only enable this after configuring either of the above two options or completing all configuration manually.")