Mercurial > obsidian-remember-file-state
diff src/main.ts @ 16:a50ef39473b6 1.0.4
Fix plugin ID, bump version to 1.0.4
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 12 Mar 2022 12:04:05 -0800 |
parents | 7da0dec2dc8d |
children | 815b93d13e0f |
line wrap: on
line diff
--- a/src/main.ts Mon Feb 28 22:15:29 2022 -0800 +++ b/src/main.ts Sat Mar 12 12:04:05 2022 -0800 @@ -149,14 +149,14 @@ // Don't hold a reference to this plugin here because this callback // will outlive it if it gets deactivated. So let's find it, and // do nothing if we don't find it. - var plugin = app.plugins.getPlugin("remember-file-state"); + var plugin = app.plugins.getPlugin("obsidian-remember-file-state"); if (plugin) { console.debug(`Unregistering view ${viewId} callback`, filePath); delete plugin._viewUninstallers[viewId]; uninstall(); } else { console.debug( - "Plugin remember-file-state has been unloaded, ignoring unregister"); + "Plugin obsidian-remember-file-state has been unloaded, ignoring unregister"); } }); }