FIX: manual setup button

This commit is contained in:
Volkor
2024-12-04 00:17:41 +11:00
parent 71987e6814
commit 61524e1c44

View File

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