mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2025-12-15 18:55:57 +00:00
FIX: manual setup button
This commit is contained in:
@@ -932,12 +932,14 @@ Store only the settings. **Caution: This may lead to data corruption**; database
|
|||||||
});
|
});
|
||||||
|
|
||||||
new Setting(paneEl)
|
new Setting(paneEl)
|
||||||
.setName("Manual setup").addButton((text)
|
.setName("Manual setup")
|
||||||
.setDesc("Not recommended, but useful if you don't have a Setup URI") => {
|
.setDesc("Not recommended, but useful if you don't have a Setup URI")
|
||||||
text.setButtonText("Start").onClick(async () => {
|
.addButton((text) => {
|
||||||
await this.enableMinimalSetup();
|
text.setButtonText("Start").onClick(async () => {
|
||||||
});
|
await this.enableMinimalSetup();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
new Setting(paneEl)
|
new Setting(paneEl)
|
||||||
.setName("Enable LiveSync")
|
.setName("Enable LiveSync")
|
||||||
.setDesc("Only enable this after configuring either of the above two options or completing all configuration manually.")
|
.setDesc("Only enable this after configuring either of the above two options or completing all configuration manually.")
|
||||||
|
|||||||
Reference in New Issue
Block a user