Skip to content

Commit

Permalink
fix: remove typos and rename classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisseidel committed Apr 5, 2021
1 parent 70461da commit 3df8309
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -13,7 +13,7 @@ In the settings of the plugin you can update the `attribute` the plugin checks

## Compatibility

`obsidian-calendar-plugin` currently requires Obsidian v0.9.11 or above to work properly.
`obsidian-highlightpublicnotes-plugin` currently requires Obsidian v0.9.12 or above to work properly.

## Installation

Expand Down
7 changes: 3 additions & 4 deletions main.ts
Expand Up @@ -10,7 +10,7 @@ const DEFAULT_SETTINGS: PluginSettings = {
valueToHighlight: 'public'
}

export default class MyPlugin extends Plugin {
export default class HighlightpublicnotesPlugin extends Plugin {
settings: PluginSettings;

async onload() {
Expand Down Expand Up @@ -42,9 +42,9 @@ export default class MyPlugin extends Plugin {
}

class SettingTab extends PluginSettingTab {
plugin: MyPlugin;
plugin: HighlightpublicnotesPlugin;

constructor(app: App, plugin: MyPlugin) {
constructor(app: App, plugin: HighlightpublicnotesPlugin) {
super(app, plugin);
this.plugin = plugin;
}
Expand All @@ -61,7 +61,6 @@ class SettingTab extends PluginSettingTab {
.setPlaceholder('classification')
.setValue(this.plugin.settings.fronmatterAttribute)
.onChange(async (value) => {
console.log('Secret: ' + value)
this.plugin.settings.fronmatterAttribute = value
await this.plugin.saveSettings()
}))
Expand Down

0 comments on commit 3df8309

Please sign in to comment.