add bookmarks sync
This commit is contained in:
@@ -2325,6 +2325,27 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
|
||||
});
|
||||
});
|
||||
|
||||
new Setting(advDiv)
|
||||
.setName(t("settings_bookmarks"))
|
||||
.setDesc(
|
||||
t("settings_bookmarks_desc", {
|
||||
configDir: this.app.vault.configDir,
|
||||
})
|
||||
)
|
||||
.addDropdown((dropdown) => {
|
||||
dropdown.addOption("disable", t("disable"));
|
||||
dropdown.addOption("enable", t("enable"));
|
||||
|
||||
dropdown
|
||||
.setValue(
|
||||
`${this.plugin.settings.syncBookmarks ? "enable" : "disable"}`
|
||||
)
|
||||
.onChange(async (val) => {
|
||||
this.plugin.settings.syncBookmarks = val === "enable";
|
||||
await this.plugin.saveSettings();
|
||||
});
|
||||
});
|
||||
|
||||
new Setting(advDiv)
|
||||
.setName(t("settings_deletetowhere"))
|
||||
.setDesc(t("settings_deletetowhere_desc"))
|
||||
|
||||
Reference in New Issue
Block a user