Skip to content

Commit

Permalink
fix: better automatic backup/pull description
Browse files Browse the repository at this point in the history
close #181
  • Loading branch information
Vinzent03 committed Feb 8, 2022
1 parent 2d4de4f commit 10c3072
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ export class ObsidianGitSettingsTab extends PluginSettingTab {

new Setting(containerEl)
.setName("Vault backup interval (minutes)")
.setDesc(
"Commit and push changes every X minutes. (See below setting for further configuration!) To disable automatic backup, specify negative value or zero (default)"
)
.setDesc("Commit and push changes every X minutes. Set to 0 (default) to disable. (See below setting for further configuration!)")
.addText((text) =>
text
.setValue(String(plugin.settings.autoSaveInterval))
Expand Down Expand Up @@ -54,9 +52,7 @@ export class ObsidianGitSettingsTab extends PluginSettingTab {
);
new Setting(containerEl)
.setName("Auto pull interval (minutes)")
.setDesc(
"Pull changes every X minutes. To disable automatic pull, specify negative value or zero (default)"
)
.setDesc("Pull changes every X minutes. Set to 0 (default) to disable.")
.addText((text) =>
text
.setValue(String(plugin.settings.autoPullInterval))
Expand Down

0 comments on commit 10c3072

Please sign in to comment.