Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonybrunelle authored Oct 12, 2024
1 parent 78a05d4 commit ef1ec60
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ export default class LyricistHelperPlugin extends Plugin {

onunload() {
console.log('Unloading Lyricist Helper plugin...');
// Detach the syllable count view when the plugin is unloaded
this.app.workspace.detachLeavesOfType(VIEW_TYPE_SYLLABLE_COUNT);
}

// Activate the syllable count view if it's not already active
Expand Down

0 comments on commit ef1ec60

Please sign in to comment.