Release v4.1 (#229)

* refactor: remove custom icon packs

* fix: command not work on windows

* fix: make open_window command async

* feat: improve commands

* feat: improve

* refactor: column

* feat: improve thread column

* feat: improve

* feat: add stories column

* feat: improve

* feat: add search column

* feat: add reset password

* feat: add subscription

* refactor: settings

* chore: improve commands

* fix: crash on production

* feat: use tauri store plugin for cache

* feat: new icon

* chore: update icon for windows

* chore: improve some columns

* chore: polish code
This commit is contained in:
雨宮蓮
2024-08-27 19:37:30 +07:00
committed by GitHub
parent 26ae473521
commit 61ad96ca63
318 changed files with 5564 additions and 8458 deletions
+4 -3
View File
@@ -1,9 +1,10 @@
import { useRouteContext } from "@tanstack/react-router";
import { appSettings } from "@/commons";
import { useStore } from "@tanstack/react-store";
export function VideoPreview({ url }: { url: string }) {
const { settings } = useRouteContext({ strict: false });
const visible = useStore(appSettings, (state) => state.display_media);
if (settings.display_media) {
if (!visible) {
return (
<a
href={url}