Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

???

not-nullptradb4bd4fc5ac
diff --git a/src/lib/store/index.svelte.ts b/src/lib/store/index.svelte.ts
index cc12fa8..29eec45 100644
--- a/src/lib/store/index.svelte.ts
+++ b/src/lib/store/index.svelte.ts
@@ -17,10 +17,11 @@ class Theme {
expires: 2147483647,
});
log(["theme"], `set to ${this.dark ? "dark" : "light"}`);
- if (browser)
+ if (browser) {
window.plausible("Theme set", {
props: { theme: theme.dark ? "dark" : "light" },
});
+ }
};
}