Skip to content

Commit

Permalink
refactor: 🔥 Remove Debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hjamet committed Aug 18, 2024
1 parent c6e71f9 commit 174c56f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ const DEFAULT_SETTINGS: VoiceNotesPluginSettings = {
filenameTemplate: `
{{date}} {{title}}
`,
debugMode: false,
excludeFolders: [],
dateFormat: 'YYYY-MM-DD',
prependDate: false
Expand Down
10 changes: 0 additions & 10 deletions settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,6 @@ export class VoiceNotesSettingTab extends PluginSettingTab {
})
);

new Setting(containerEl)
.setName('Debug Mode')
.setDesc('Enable debug mode for additional logging')
.addToggle((toggle) =>
toggle.setValue(this.plugin.settings.debugMode).onChange(async (value) => {
this.plugin.settings.debugMode = value;
await this.plugin.saveSettings();
})
);

new Setting(containerEl)
.setName('Custom Note Template')
.setDesc('Custom template for synced notes. Available variables: {{title}}, {{date}}, {{transcript}}, {{audio_link}}, {{summary}}, {{tidy_transcript}}, {{points}}, {{todo}}, {{email}}, {{tweet}}, {{blog}} and {{custom}}\n(uncheck to add a custom frontmatter)')
Expand Down
1 change: 0 additions & 1 deletion types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export interface VoiceNotesPluginSettings {
useDefaultFrontmatter: boolean;
noteTemplate: string;
filenameTemplate: string;
debugMode: boolean;
excludeFolders: string[];
dateFormat: string;
prependDate: boolean;
Expand Down

0 comments on commit 174c56f

Please sign in to comment.