diff --git a/manifest.json b/manifest.json index bed04e9..1bddb41 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "folder-notes", "name": "Folder notes", - "version": "1.5.2", + "version": "1.5.4", "minAppVersion": "0.15.0", "description": "Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.", "author": "Lost Paul", diff --git a/src/folderOverview/ModalSettings.ts b/src/folderOverview/ModalSettings.ts index 114219b..87d4695 100644 --- a/src/folderOverview/ModalSettings.ts +++ b/src/folderOverview/ModalSettings.ts @@ -60,7 +60,11 @@ export class FolderOverviewSettings extends Modal { this.close(); } }); - contentEl.createEl('h2', { text: 'Folder overview settings' }); + if (!this.defaultSettings) { + contentEl.createEl('h2', { text: 'Folder overview settings' }); + } else { + contentEl.createEl('h2', { text: 'Default folder overview settings' }); + } new Setting(contentEl) .setName('Show the title') .setDesc('Choose if the title should be shown') @@ -76,7 +80,7 @@ export class FolderOverviewSettings extends Modal { await updateYaml(this.plugin, this.ctx, this.el, this.yaml);; }) ); - if (!this.yaml.showTitle) { + if (this.yaml.showTitle) { new Setting(contentEl) .setName('Title') .setDesc('Choose the title of the folder overview')