mirror of
https://github.com/decaf-dev/obsidian-vault-explorer.git
synced 2026-07-22 10:10:31 +00:00
feat: clear smi cache on migration
This commit is contained in:
parent
9473ed44b6
commit
cf845351d8
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue