diff --git a/src/main.ts b/src/main.ts index 1bf609b..b4c6034 100644 --- a/src/main.ts +++ b/src/main.ts @@ -210,6 +210,12 @@ export default class VaultExplorerPlugin extends Plugin { localStorage.removeItem(LOCAL_STORAGE_LICENSE_KEY); } if (isVersionLessThan(loadedVersion, "1.37.1")) { + console.log("Clearing image cache"); + await clearSMICache(); + } + if (isVersionLessThan(loadedVersion, "1.44.1")) { + //socialMediaImageUrl -> smiUrl + console.log("Clearing image cache"); await clearSMICache(); } }