1
0
mirror of https://github.com/vrtmrz/obsidian-livesync.git synced 2025-03-03 15:32:25 +02:00

FIX: manual setup button

This commit is contained in:
Volkor 2024-12-04 00:17:41 +11:00
parent 71987e6814
commit 61524e1c44
No known key found for this signature in database

View File

@ -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.")