From ef1ec60998921a8b0308e2eadbe3272416e3d462 Mon Sep 17 00:00:00 2001 From: Anthony Brunelle Date: Fri, 11 Oct 2024 21:02:14 -0700 Subject: [PATCH] Update main.ts --- main.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.ts b/main.ts index 88521ee..19cd561 100644 --- a/main.ts +++ b/main.ts @@ -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