Change conflict setting default value and disable selection dropdown

This commit is contained in:
Silvano Cerza 2025-01-23 17:19:16 +01:00
parent fa995a392e
commit 0ba9420b3a
2 changed files with 3 additions and 2 deletions

View file

@ -24,7 +24,7 @@ export const DEFAULT_SETTINGS: GitHubSyncSettings = {
syncInterval: 1,
syncOnStartup: false,
syncConfigDir: true,
conflictHandling: "ask",
conflictHandling: "overwrite",
showStatusBarItem: true,
showSyncRibbonButton: true,
enableLogging: true,

View file

@ -182,7 +182,8 @@ export default class GitHubSyncSettingsTab extends PluginSettingTab {
this.plugin.settings.conflictHandling = value;
await this.plugin.saveSettings();
});
});
})
.setDisabled(true);
containerEl.createEl("h2", { text: "Interface" });