Skip to content

Commit

Permalink
Merge pull request #286 from decaf-dev/dev
Browse files Browse the repository at this point in the history
1.37.1
  • Loading branch information
decaf-dev authored Aug 1, 2024
2 parents 24f8372 + 7a25c59 commit c55142b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "vault-explorer",
"name": "Vault Explorer",
"version": "1.37.0",
"version": "1.37.1",
"minAppVersion": "1.4.13",
"description": "Explore your vault in visual format",
"author": "DecafDev",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-vault-explorer",
"version": "1.37.0",
"version": "1.37.1",
"description": "Explore your vault in visual format",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { moveFocus } from "./focus-utils";
import { PluginEvent } from "./event/types";
import { isVersionLessThan } from "./utils";
import License from "./svelte/shared/services/license";
import { clearSocialMediaImageCache } from "./svelte/app/services/social-media-image-cache";

export default class VaultExplorerPlugin extends Plugin {
settings: VaultExplorerPluginSettings = DEFAULT_SETTINGS;
Expand Down Expand Up @@ -188,6 +189,9 @@ export default class VaultExplorerPlugin extends Plugin {
"vault-explorer-license-key";
localStorage.removeItem(LOCAL_STORAGE_LICENSE_KEY);
}
if (isVersionLessThan(loadedVersion, "1.37.1")) {
await clearSocialMediaImageCache();
}
}
}

Expand Down
1 change: 0 additions & 1 deletion src/svelte/app/components/grid-card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@
}
imgSrc = imageUrl;
}
console.log("Image", imageUrl, imgSrc);
}
function handleUrlClick(e: Event) {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,6 @@
"1.36.1": "1.4.13",
"1.36.2": "1.4.13",
"1.36.3": "1.4.13",
"1.37.0": "1.4.13"
"1.37.0": "1.4.13",
"1.37.1": "1.4.13"
}

0 comments on commit c55142b

Please sign in to comment.